minimal changes

This commit is contained in:
Tilka
2012-05-09 23:27:06 +02:00
parent c5516b5729
commit 05fd6bb723
5 changed files with 37 additions and 19 deletions

View File

@@ -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 */

View File

@@ -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;
};

View File

@@ -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)

View File

@@ -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;