]> git.sur5r.net Git - openldap/blobdiff - contrib/ldapc++/src/LDAPConnection.h
Happy New Year
[openldap] / contrib / ldapc++ / src / LDAPConnection.h
index 1e71de336577f6a8c5c399ad169b047900c0f0d2..299d3304da485a600cd86bca0dd04a24cbd6127c 100644 (file)
@@ -1,6 +1,6 @@
 // $OpenLDAP$
 /*
- * Copyright 2000-2017 The OpenLDAP Foundation, All Rights Reserved.
+ * Copyright 2000-2018 The OpenLDAP Foundation, All Rights Reserved.
  * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
  */
 
@@ -43,7 +43,7 @@ class LDAPConnection : private LDAPAsynConnection {
          * 
          * During execution of this constructor no network communication
          * is performed. Just some internal data structure are initialized
-         * @param hostname Name (or IP-Adress) of the destination host
+         * @param hostname Name (or IP-Address) of the destination host
          * @param port Port the LDAP server is running on
          * @param cons Default constraints to use with operations over 
          *      this connection
@@ -57,7 +57,7 @@ class LDAPConnection : private LDAPAsynConnection {
         ~LDAPConnection();
         
         /** 
-         * Initzializes a synchronous connection to a server. 
+         * Initializes a synchronous connection to a server.
          * 
          * There is actually no
          * communication to the server. Just the object is initialized
@@ -82,7 +82,7 @@ class LDAPConnection : private LDAPAsynConnection {
          * Performs a simple authentication with the server
          *
          * @throws LDAPReferralException if a referral is received
-         * @throws LDAPException for any other error occuring during the
+         * @throws LDAPException for any other error occurring during the
          *              operation
          * @param dn    The name of the entry to bind as
          * @param passwd    The cleartext password for the entry
@@ -102,11 +102,11 @@ class LDAPConnection : private LDAPAsynConnection {
         void unbind();
         
         /**
-         * Performs a COMPARE-operation on an entery of the destination 
+         * Performs a COMPARE-operation on an entry of the destination
          * server.
          *
          * @throws LDAPReferralException if a referral is received
-         * @throws LDAPException for any other error occuring during the
+         * @throws LDAPException for any other error occurring during the
          *              operation
          * @param dn    Distinguished name of the entry for which the compare
          *              should be performed
@@ -126,7 +126,7 @@ class LDAPConnection : private LDAPAsynConnection {
          *
          * This method performs the DELETE operation on the server
          * @throws LDAPReferralException if a referral is received
-         * @throws LDAPException for any other error occuring during the
+         * @throws LDAPException for any other error occurring during the
          *              operation
          * @param dn    Distinguished name of the entry that should be deleted
          * @param cons  A set of constraints that should be used with this
@@ -138,7 +138,7 @@ class LDAPConnection : private LDAPAsynConnection {
          * Use this method to perform the ADD-operation
          *
          * @throws LDAPReferralException if a referral is received
-         * @throws LDAPException for any other error occuring during the
+         * @throws LDAPException for any other error occurring during the
          *              operation
          * @param le    the entry to add to the directory
          * @param cons  A set of constraints that should be used with this
@@ -150,7 +150,7 @@ class LDAPConnection : private LDAPAsynConnection {
          * To modify the attributes of an entry, this method can be used
          *
          * @throws LDAPReferralException if a referral is received
-         * @throws LDAPException for any other error occuring during the
+         * @throws LDAPException for any other error occurring during the
          *              operation
          * @param dn    The DN of the entry which should be modified
          * @param mods  A set of modifications for that entry.
@@ -163,10 +163,10 @@ class LDAPConnection : private LDAPAsynConnection {
         /**
          * This method performs the ModDN-operation.
          *
-         * It can be used to rename or move an entry by modifing its DN.
+         * It can be used to rename or move an entry by modifying its DN.
          *
          * @throws LDAPReferralException if a referral is received
-         * @throws LDAPException for any other error occuring during the
+         * @throws LDAPException for any other error occurring during the
          *              operation
          * @param dn    The DN that should be modified
          * @param newRDN    If the RDN of the entry should be modified the
@@ -188,7 +188,7 @@ class LDAPConnection : private LDAPAsynConnection {
          * This method can be used for the sync. SEARCH-operation.
          *
          * @throws LDAPReferralException if a referral is received
-         * @throws LDAPException for any other error occuring during the
+         * @throws LDAPException for any other error occurring during the
          *              operation
          * @param base The distinguished name of the starting point for the
          *      search
@@ -214,7 +214,7 @@ class LDAPConnection : private LDAPAsynConnection {
          * This method is for extended LDAP-Operations.
          *
          * @throws LDAPReferralException if a referral is received
-         * @throws LDAPException for any other error occuring during the
+         * @throws LDAPException for any other error occurring during the
          *              operation
          * @param oid The Object Identifier of the Extended Operation that
          *          should be performed.