client: use GSList instead of struct strnode for command lists

Replace a custom data structure with a GLib one.
This commit is contained in:
Max Kellermann
2008-10-31 09:17:56 +01:00
parent e5ef2d8a37
commit 90e9079142
3 changed files with 23 additions and 50 deletions

View File

@@ -20,9 +20,9 @@
#define COMMAND_H
#include "gcc.h"
#include "sllist.h"
#include "ack.h"
#include <glib.h>
#include <stdbool.h>
enum command_return {
@@ -40,7 +40,7 @@ void command_finish(void);
enum command_return
command_process_list(struct client *client,
bool list_ok, struct strnode *list);
bool list_ok, GSList *list);
enum command_return
command_process(struct client *client, char *commandString);