[Date Prev][Date Next] [Chronological] [Thread] [Top]

libcldap - Style



Ralf,
Is there any standard style.  See Below...

#ifndef LDAPCONNECTION_H
#define LDAPCONNECTION_H

#include "lber.h"
#include "ldap.h"
#include <string>

class CLdapConnection {
private:
	LDAP   *m_ld;
	string    *m_strHost;
	string    *m_strAuthenticationMethod;
	int         m_iPort;
public: 
	CLdapConnection();
	CLdapConnection( string host, int port=389 );
	CLdapConnection( char* host, int port=389 );
	~CLdapConnection();
	
	string getAuthenticationMethod();
	string getAuthenticationPassword();
	string getHost();
};};

#endif