mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-20 00:30:20 +00:00
some fields are const
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17226 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -73,10 +73,10 @@ typedef int (*ast_state_cb_type)(char *context, char* id, enum ast_extension_sta
|
||||
|
||||
/*! Data structure associated with a custom function */
|
||||
struct ast_custom_function {
|
||||
char *name;
|
||||
char *synopsis;
|
||||
char *desc;
|
||||
char *syntax;
|
||||
const char *name;
|
||||
const char *synopsis;
|
||||
const char *desc;
|
||||
const char *syntax;
|
||||
int (*read)(struct ast_channel *, char *, char *, char *, size_t);
|
||||
int (*write)(struct ast_channel *, char *, char *, const char *);
|
||||
struct ast_custom_function *next;
|
||||
|
||||
Reference in New Issue
Block a user