From dfb9048733fd70173b4446740ce70146c5fe8bb0 Mon Sep 17 00:00:00 2001 From: Jesse van den Kieboom Date: Tue, 15 Nov 2005 11:41:38 +0000 Subject: [PATCH] Added gm_mcp_parse_list, added gm_mcp_list_free, changed definition of gm_mcp_process_key_values (line arg is now const) --- gnoemoe/mcp/gm-mcp.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gnoemoe/mcp/gm-mcp.h b/gnoemoe/mcp/gm-mcp.h index 821f8d0..cc98bd3 100644 --- a/gnoemoe/mcp/gm-mcp.h +++ b/gnoemoe/mcp/gm-mcp.h @@ -18,11 +18,13 @@ gdouble gm_mcp_get_version(gdouble client_min, gdouble client_max, gchar const *gm_mcp_find_value(GList const *fields, gchar const *key); gchar *gm_mcp_escape_if_needed(gchar const *line); gchar *gm_mcp_un_escape(gchar *line); -GList *gm_mcp_process_key_values(gchar *line); +GList *gm_mcp_process_key_values(gchar const *line); gboolean gm_mcp_parse_line(gchar *line, McpMessageInfo *info); gchar *gm_mcp_generate_data_tag(); gchar *gm_mcp_generate_auth_key(); gchar const *gm_mcp_find_multiline_tag(GList const *fields); void gm_mcp_destroy_fields(GList *fields); +GList *gm_mcp_parse_list(gchar const *s); +void gm_mcp_list_free(GList *list); #endif /* __GM_MCP_H__ */