Version 0.2.0 from FTP
[asterisk/asterisk.git] / include / asterisk / chanvars.h
1 #ifndef _ASTERISK_CHANVARS_INCLUDE
2 #define _ASTERISK_CHANVARS_INCLUDE
3
4 #include <asterisk/linkedlists.h>
5
6 struct ast_var_t {
7         char *name;
8         char *value;
9         AST_LIST_ENTRY(ast_var_t) entries;
10 };
11
12 struct ast_var_t *ast_var_assign(char *name,char *value);
13 void ast_var_delete(struct ast_var_t *var);
14 char *ast_var_name(struct ast_var_t *var);
15 char *ast_var_value(struct ast_var_t *var);
16
17 #endif