diff options
author | murf <murf@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-03-27 14:09:12 +0000 |
---|---|---|
committer | murf <murf@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-03-27 14:09:12 +0000 |
commit | a0156d2b1ad4f05e8c48318ea7c61b97ab16ac89 (patch) | |
tree | 5b4f2b2f0ad9a12eaa4882a0e9c63b6997c9aea6 /include/asterisk/config.h | |
parent | e4af1a695d47ebcb28a92904917b0eab77d2be82 (diff) |
Enhancement via 8118: Realtime API extension: add methods store_func and destroy_func, to make Realtime a complete database abstraction
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@59253 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk/config.h')
-rw-r--r-- | include/asterisk/config.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asterisk/config.h b/include/asterisk/config.h index 5e1a6fc72..f7b14af1b 100644 --- a/include/asterisk/config.h +++ b/include/asterisk/config.h @@ -51,6 +51,8 @@ typedef struct ast_config *config_load_func(const char *database, const char *ta typedef struct ast_variable *realtime_var_get(const char *database, const char *table, va_list ap); typedef struct ast_config *realtime_multi_get(const char *database, const char *table, va_list ap); typedef int realtime_update(const char *database, const char *table, const char *keyfield, const char *entity, va_list ap); +typedef int realtime_store(const char *database, const char *table, va_list ap); +typedef int realtime_destroy(const char *database, const char *table, const char *keyfield, const char *entity, va_list ap); /*! \brief Configuration engine structure, used to define realtime drivers */ struct ast_config_engine { @@ -59,6 +61,8 @@ struct ast_config_engine { realtime_var_get *realtime_func; realtime_multi_get *realtime_multi_func; realtime_update *update_func; + realtime_store *store_func; + realtime_destroy *destroy_func; struct ast_config_engine *next; }; |