summaryrefslogtreecommitdiffstats
path: root/src/libtdeldap.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-13 17:42:34 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-13 17:42:34 -0600
commita3118cb55bc12866b608441b7719c529206cfc4c (patch)
tree0999de2bbead2bfde9e92e26979cccee800d568d /src/libtdeldap.h
parent347de0fcc77f48a4704bc6d93cf4f7828d930a98 (diff)
downloadlibtdeldap-a3118cb55bc12866b608441b7719c529206cfc4c.tar.gz
libtdeldap-a3118cb55bc12866b608441b7719c529206cfc4c.zip
Update library to allow usage from command line applications
Diffstat (limited to 'src/libtdeldap.h')
-rw-r--r--src/libtdeldap.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/libtdeldap.h b/src/libtdeldap.h
index 1bad94d..d6ea2d5 100644
--- a/src/libtdeldap.h
+++ b/src/libtdeldap.h
@@ -382,15 +382,15 @@ class LDAPManager : public TQObject {
LDAPServiceInfoList services(int* retcode=0);
LDAPUserInfo getUserByDistinguishedName(TQString dn);
LDAPGroupInfo getGroupByDistinguishedName(TQString dn, TQString *errstr=0);
- int updateUserInfo(LDAPUserInfo user);
- int updateGroupInfo(LDAPGroupInfo group);
- int addUserInfo(LDAPUserInfo user);
- int addGroupInfo(LDAPGroupInfo group);
+ int updateUserInfo(LDAPUserInfo user, TQString *errstr=0);
+ int updateGroupInfo(LDAPGroupInfo group, TQString *errstr=0);
+ int addUserInfo(LDAPUserInfo user, TQString *errstr=0);
+ int addGroupInfo(LDAPGroupInfo group, TQString *errstr=0);
int addServiceInfo(LDAPServiceInfo service, TQString *errstr=0);
- int deleteUserInfo(LDAPUserInfo user);
- int deleteGroupInfo(LDAPGroupInfo group);
- int deleteMachineInfo(LDAPMachineInfo machine);
- int deleteServiceInfo(LDAPServiceInfo service);
+ int deleteUserInfo(LDAPUserInfo user, TQString *errstr=0);
+ int deleteGroupInfo(LDAPGroupInfo group, TQString *errstr=0);
+ int deleteMachineInfo(LDAPMachineInfo machine, TQString *errstr=0);
+ int deleteServiceInfo(LDAPServiceInfo service, TQString *errstr=0);
LDAPCredentials currentLDAPCredentials();