Logo Search packages:      
Sourcecode: addresses-for-gnustep version File versions  Download package

utils.h

#ifndef UTILS_H
#define UTILS_H

#include <Foundation/Foundation.h>
#include <ldap.h>
#include <gsldap/GSLDAPConnection.h>
#include <gsldap/GSLDAPEntry.h>
#include <Addresses/Addresses.h>

NSString* authMethodToString(int authMethod);
int stringToAuthMethod(NSString* str);

NSString* scopeToString(int scope);
int stringToScope(NSString* str);

ADPerson* ldapEntryToPerson(GSLDAPEntry* entry);
GSLDAPEntry* personToLDAPEntry(ADPerson* person);

#endif // UTILS_H


Generated by  Doxygen 1.6.0   Back to index