X-Git-Url: http://git.code-monkey.de/?p=umurmur.git;a=blobdiff_plain;f=src%2Fclient.h;fp=src%2Fclient.h;h=9e3fcb5fa7b379f5ca18f2db33e6b2516b508910;hp=2759060cc433729a1aac15ef750257499eb63858;hb=aa21dde5fbd77ecefb946961ea2231d31d8f8e3b;hpb=c4e1966b2719d116fa7f3ac1e31b5517c6568728 diff --git a/src/client.h b/src/client.h index 2759060..9e3fcb5 100644 --- a/src/client.h +++ b/src/client.h @@ -136,4 +136,10 @@ 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); +/** + * Retrieve the client that matches the given session ID. + * Returns NULL if there's no such client. + */ +client_t *Client_find_by_session(int session_id); + #endif