X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=src%2Fclient.h;h=e7373bdfe148a2aca7ca136242c6dcb2ddeb3e50;hb=21ed5998124647e79de379c35b75acaf7323677a;hp=9f17ddf3d822ec32d708a5523ec62eee69d892ea;hpb=a738ff892738e239ad74f5aa686108298efa7cea;p=umurmur.git diff --git a/src/client.h b/src/client.h index 9f17ddf..e7373bd 100644 --- a/src/client.h +++ b/src/client.h @@ -59,7 +59,7 @@ #define IS_AUTH(_a_) ((_a_)->authenticated) -typedef struct { /* You can add new lines to this struct, any reordering of some of the lines will break the sharedmemory API */ +typedef struct { int tcpfd; SSL_handle_t *ssl; bool_t SSLready; @@ -127,5 +127,8 @@ void Client_codec_add(client_t *client, int codec); 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