You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
693 B
36 lines
693 B
#ifndef AGI_H |
|
#define AGI_H 1 |
|
|
|
struct agi_parameter { |
|
char *key; |
|
char *value; |
|
struct agi_parameter *next; |
|
}; |
|
|
|
struct agi_response { |
|
|
|
}; |
|
|
|
typedef struct agi_parameter s_agi_parameter; |
|
|
|
int ast_agi_stdout(char *str_stdout ); |
|
|
|
int ast_agi_stdin( char *str_stdin, int n ); |
|
|
|
int ast_agi_add_param( s_agi_parameter **ast_root, s_agi_parameter *ast_next ); |
|
|
|
s_agi_parameter *ast_agi( ); |
|
|
|
int ast_agi_key( char **key, char *line ); |
|
|
|
int ast_agi_value( char **value, char *line ); |
|
|
|
int ast_agi_len_char( char *line, char cht ); |
|
|
|
char *get_param_value(s_agi_parameter *param, char *key); |
|
|
|
char *get_param_n(s_agi_parameter *param, int n); |
|
|
|
int agi_verbose_all_param(s_agi_parameter *param); |
|
|
|
#endif
|
|
|