|
SWITCH_BEGIN_EXTERN_C void | switch_limit_init (switch_memory_pool_t *pool) |
| Initilize the LIMIT Core System. More...
|
|
switch_status_t | switch_limit_incr (const char *backend, switch_core_session_t *session, const char *realm, const char *resource, const int max, const int interval) |
| Increment resource. More...
|
|
switch_status_t | switch_limit_release (const char *backend, switch_core_session_t *session, const char *realm, const char *resource) |
| Release resource. More...
|
|
int | switch_limit_usage (const char *backend, const char *realm, const char *resource, uint32_t *rcount) |
| get usage count for resource More...
|
|
switch_status_t | switch_limit_interval_reset (const char *backend, const char *realm, const char *resource) |
| reset interval usage counter for a given resource More...
|
|
switch_status_t | switch_limit_reset (const char *backend) |
| reset all usage counters More...
|
|
void | switch_limit_fire_event (const char *backend, const char *realm, const char *resource, uint32_t usage, uint32_t rate, uint32_t max, uint32_t ratemax) |
| fire event for limit usage More...
|
|
char * | switch_limit_status (const char *backend) |
| retrieve arbitrary status information More...
|
|