Defines | |
| #define | rxv_spin_app_strget(ctx, key) rxv_spin_single_get(rxv_spin_app_get((ctx),(key))) |
| #define | rxv_spin_app_strset(ctx, key, val) rxv_spin_app_set((ctx),(key),rxv_spin_single(rxv_spin_ctx_pool(ctx),(val))) |
| #define | rxv_spin_ses_strget(ctx, key) rxv_spin_single_get(rxv_spin_ses_get((ctx),(key))) |
| #define | rxv_spin_ses_strset(ctx, key, val) rxv_spin_ses_set((ctx),(key),rxv_spin_single(rxv_spin_ctx_pool(ctx),(val))) |
Functions | |
| rxv_spin_data_t * | rxv_spin_app_get (rxv_spin_ctx_t *ctx, const char *key) |
| rxv_spin_data_t * | rxv_spin_app_set (rxv_spin_ctx_t *ctx, const char *key, rxv_spin_data_t *val) |
| apr_status_t | rxv_spin_app_del (rxv_spin_ctx_t *ctx, const char *key) |
| rxv_spin_data_t * | rxv_spin_ses_get (rxv_spin_ctx_t *ctx, const char *key) |
| rxv_spin_data_t * | rxv_spin_ses_set (rxv_spin_ctx_t *ctx, const char *key, rxv_spin_data_t *val) |
| apr_status_t | rxv_spin_ses_del (rxv_spin_ctx_t *ctx, const char *key) |
| char * | rxv_spin_ses_id (rxv_spin_ctx_t *ctx) |
| int | rxv_spin_ses_valid (rxv_spin_ctx_t *ctx) |
| apr_time_t | rxv_spin_ses_atime (rxv_spin_ctx_t *ctx) |
| #define rxv_spin_app_strget | ( | ctx, | |||
| key | ) | rxv_spin_single_get(rxv_spin_app_get((ctx),(key))) |
get a string from application instead of single
| #define rxv_spin_app_strset | ( | ctx, | |||
| key, | |||||
| val | ) | rxv_spin_app_set((ctx),(key),rxv_spin_single(rxv_spin_ctx_pool(ctx),(val))) |
set string into application instead of single
| #define rxv_spin_ses_strget | ( | ctx, | |||
| key | ) | rxv_spin_single_get(rxv_spin_ses_get((ctx),(key))) |
get a string from session instead of single
| #define rxv_spin_ses_strset | ( | ctx, | |||
| key, | |||||
| val | ) | rxv_spin_ses_set((ctx),(key),rxv_spin_single(rxv_spin_ctx_pool(ctx),(val))) |
set string into application instead of single
| rxv_spin_data_t* rxv_spin_app_get | ( | rxv_spin_ctx_t * | ctx, | |
| const char * | key | |||
| ) |
Retrieve a value from the application store.
| ctx | Context | |
| key | Unique key by which this value is identified |
rxv_spin_app_get(ctx,"some application key");
| rxv_spin_data_t* rxv_spin_app_set | ( | rxv_spin_ctx_t * | ctx, | |
| const char * | key, | |||
| rxv_spin_data_t * | val | |||
| ) |
Put value in the application store.
| ctx | Context | |
| key | Unique key by which this value is identified | |
| val | Value to be placed in the store (single) |
rxv_spin_app_set(ctx,"some application key", rxv_spin_str_single(pool,"some application value"));
| apr_status_t rxv_spin_app_del | ( | rxv_spin_ctx_t * | ctx, | |
| const char * | key | |||
| ) |
Delete a record in the application store.
| ctx | Context | |
| key | Unique key by which record is identified |
rxv_spin_app_del(ctx,"some application key");
| rxv_spin_data_t* rxv_spin_ses_get | ( | rxv_spin_ctx_t * | ctx, | |
| const char * | key | |||
| ) |
Retrieve a value from the session store.
| ctx | Context | |
| key | Unique key by which this value is identified |
rxv_spin_app_get(ctx,"some session key");
| rxv_spin_data_t* rxv_spin_ses_set | ( | rxv_spin_ctx_t * | ctx, | |
| const char * | key, | |||
| rxv_spin_data_t * | val | |||
| ) |
Put value in the session store.
| ctx | Context | |
| key | Unique key by which this value is identified | |
| val | Value to be placed in the store (single) |
rxv_spin_app_set(ctx,"some session key", rxv_spin_str_single(pool,"some session value"));
| apr_status_t rxv_spin_ses_del | ( | rxv_spin_ctx_t * | ctx, | |
| const char * | key | |||
| ) |
Delete a record in the session store.
| ctx | Context | |
| key | Unique key by which record is identified |
rxv_spin_ses_del(ctx,"some session key");
| char* rxv_spin_ses_id | ( | rxv_spin_ctx_t * | ctx | ) |
Get session id
| ctx | Context |
rxv_spin_ses_id(ctx);
| int rxv_spin_ses_valid | ( | rxv_spin_ctx_t * | ctx | ) |
Find out if the session is valid.
| ctx | Context |
rxv_spin_ses_valid(ctx);
| apr_time_t rxv_spin_ses_atime | ( | rxv_spin_ctx_t * | ctx | ) |
Last access time for the session.
| ctx | Context |
rxv_spin_ses_atime(ctx);
1.5.2