- enum TYPE {
- AUTHORIZE,
- AUTHENTICATE,
- POST_AUTH,
- PRE_ACCT,
- ACCOUNT
- };
- struct Error : std::runtime_error {
- Error(const std::string& message) : runtime_error(message) {}
- };
-
- typedef bool (*Callback)(void* data, const RESULT& result);
-
- STG_CLIENT(const std::string& address, Callback callback, void* data);
- ~STG_CLIENT();