ldapmodlist.h
来自「ldap服务器源码」· C头文件 代码 · 共 49 行
H
49 行
/* * Copyright 2000, OpenLDAP Foundation, All Rights Reserved. * COPYING RESTRICTIONS APPLY, see COPYRIGHT file */#ifndef LDAP_MOD_LIST_H#define LDAP_MOD_LIST_H#include <ldap.h>#include <list>#include <LDAPModification.h>/** * This container class is used to store multiple LDAPModification-objects. */class LDAPModList{ typedef std::list<LDAPModification> ListType; public : /** * Constructs an empty list. */ LDAPModList(); /** * Copy-constructor */ LDAPModList(const LDAPModList&); /** * Adds one element to the end of the list. * @param mod The LDAPModification to add to the std::list. */ void addModification(const LDAPModification &mod); /** * Translates the list to a 0-terminated array of * LDAPMod-structures as needed by the C-API */ LDAPMod** toLDAPModArray(); private : ListType m_modList;};#endif //LDAP_MOD_LIST_H
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?