Core functions used to initialize or free struct _i_session
◆ i_clean_session()
void i_clean_session |
( |
struct _i_session * |
i_session | ) |
|
◆ i_free()
void i_free |
( |
void * |
data | ) |
|
Free a heap allocated variable previously returned by a iddawc function
- Parameters
-
◆ i_global_close()
Close iddawc global parameters
◆ i_global_init()
Initialize iddawc global parameters This function isn't thread-safe so it must be called once before any other call to iddawc functions The function i_global_close must be called when iddawc library is no longer required
- Returns
- RHN_OK on success, an error value on error
◆ i_init_session()
int i_init_session |
( |
struct _i_session * |
i_session | ) |
|
Initialize a struct _i_session
- Parameters
-
i_session | a reference to a struct _i_session * to initialize |
- Returns
- I_OK on success, an error value on error