3 #include "thriftclient.h"
5 int stgInstantiateImpl(const char * server, uint16_t port, const char * password)
7 if (STG_CLIENT_ST::Get().Configure(server, port, password))
13 const STG_PAIR * stgAuthorizeImpl(const char * userName, const char * serviceType)
15 return STG_CLIENT_ST::Get().Authorize(userName, serviceType);
18 const STG_PAIR * stgAuthenticateImpl(const char * userName, const char * serviceType)
20 return STG_CLIENT_ST::Get().Authenticate(userName, serviceType);
23 const STG_PAIR * stgPostAuthImpl(const char * userName, const char * serviceType)
25 return STG_CLIENT_ST::Get().PostAuth(userName, serviceType);
28 const STG_PAIR * stgPreAcctImpl(const char * userName, const char * serviceType)
30 return STG_CLIENT_ST::Get().PreAcct(userName, serviceType);
33 const STG_PAIR * stgAccountingImpl(const char * userName, const char * serviceType, const char * statusType, const char * sessionId)
35 return STG_CLIENT_ST::Get().Account(userName, serviceType, statusType, sessionId);
38 void deletePairs(const STG_PAIR * pairs)