client->tokencount++;
}
-bool_t Client_token_match(client_t *client, char *str)
+bool_t Client_token_match(client_t *client, char const *str)
{
token_t *token;
struct dlist *itr;
void Client_codec_free(client_t *client);
codec_t *Client_codec_iterate(client_t *client, codec_t **codec_itr);
void Client_textmessage(client_t *client, char *text);
+bool_t Client_token_match(client_t *client, char const *str);
+void Client_token_free(client_t *client);
+void Client_token_add(client_t *client, char *token_string);
#endif
#include "version.h"
#include "config.h"
#include "sharedmemory.h"
+#include "ban.h"
char system_string[64], version_string[64];
int bindport;
Chan_init();
Client_init();
Ban_init();
-
-#ifdef USE_SHAREDMEMORY_API
+
+#ifdef USE_SHAREDMEMORY_API
Sharedmemory_init( bindport, bindport6 );
#endif
-
+
#ifdef POSIX_PRIORITY_SCHEDULING
if (realtime)
setscheduler();