]> git.stg.codes - stg.git/blob - rlm_stg/iface.h
Port to CMake, get rid of os_int.h.
[stg.git] / rlm_stg / iface.h
1 #ifndef __STG_IFACE_H__
2 #define __STG_IFACE_H__
3
4 #include <stdint.h>
5
6 #include "stgpair.h"
7
8 #ifdef __cplusplus
9 extern "C" {
10 #endif
11
12 int stgInstantiateImpl(const char* address);
13 STG_RESULT stgAuthorizeImpl(const char* userName, const char* password, const STG_PAIR* vps);
14 STG_RESULT stgAuthenticateImpl(const char* userName, const char* password, const STG_PAIR* vps);
15 STG_RESULT stgPostAuthImpl(const char* userName, const char* password, const STG_PAIR* vps);
16 STG_RESULT stgPreAcctImpl(const char* userName, const char* password, const STG_PAIR* vps);
17 STG_RESULT stgAccountingImpl(const char* userName, const char* password, const STG_PAIR* vps);
18
19 #ifdef __cplusplus
20 }
21 #endif
22
23 #endif