minimal changes
This commit is contained in:
@@ -109,7 +109,7 @@ struct hub_user
|
||||
struct hub_user_info id; /** Contains nick name and CID */
|
||||
enum auth_credentials credentials; /** see enum user_credentials */
|
||||
enum user_state state; /** see enum user_state */
|
||||
uint32_t flags; /** see enum user_features */
|
||||
uint32_t flags; /** see enum user_flags */
|
||||
struct linked_list* feature_cast; /** Features supported by feature cast */
|
||||
struct adc_message* info; /** ADC 'INF' message (broadcasted to everyone joining the hub) */
|
||||
struct hub_info* hub; /** The hub instance this user belong to */
|
||||
|
||||
@@ -119,9 +119,9 @@ typedef size_t (*hfunc_command_arg_reset)(struct plugin_handle*, struct plugin_c
|
||||
typedef struct plugin_command_arg_data* (*hfunc_command_arg_next)(struct plugin_handle*, struct plugin_command*, enum plugin_command_arg_type);
|
||||
|
||||
typedef char* (*hfunc_get_hub_name)(struct plugin_handle*);
|
||||
typedef void (*hfunc_set_hub_name)(struct plugin_handle*, const char*);
|
||||
typedef char* (*hfunc_get_hub_description)(struct plugin_handle*);
|
||||
typedef void (*hfunc_set_hub_name)(struct plugin_handle*, const char*);
|
||||
typedef void (*hfunc_set_hub_description)(struct plugin_handle*, const char*);
|
||||
typedef void (*hfunc_set_hub_description)(struct plugin_handle*, const char*);
|
||||
|
||||
/**
|
||||
* These are functions created and initialized by the hub and which can be used
|
||||
@@ -137,8 +137,8 @@ struct plugin_hub_funcs
|
||||
hfunc_command_arg_reset command_arg_reset;
|
||||
hfunc_command_arg_next command_arg_next;
|
||||
hfunc_get_hub_name get_name;
|
||||
hfunc_get_hub_description get_description;
|
||||
hfunc_set_hub_name set_name;
|
||||
hfunc_get_hub_description get_description;
|
||||
hfunc_set_hub_description set_description;
|
||||
};
|
||||
|
||||
|
||||
@@ -73,10 +73,10 @@ struct cfg_tokens* cfg_tokenize(const char* line)
|
||||
}
|
||||
break;
|
||||
|
||||
case '\"':
|
||||
case '"':
|
||||
if (backslash)
|
||||
{
|
||||
ADD_CHAR('\"');
|
||||
ADD_CHAR('"');
|
||||
backslash = 0;
|
||||
}
|
||||
else if (quote)
|
||||
|
||||
@@ -258,7 +258,7 @@ int file_read_lines(const char* file, void* data, file_line_handler_t handler)
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* Parse configuaration */
|
||||
/* Parse configuration */
|
||||
split_data.handler = handler;
|
||||
split_data.data = data;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user