add function to return network max nickname length
Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
3d3820a912
commit
5ab72400ce
|
@ -150,6 +150,7 @@ EXAPI const char *express_network_username_get(Express_Network *net);
|
|||
EXAPI void express_network_username_send(Express_Network *net);
|
||||
EXAPI void express_network_nickname_set(Express_Network *net, const char *name);
|
||||
EXAPI const char *express_network_nickname_get(Express_Network *net);
|
||||
EXAPI int express_network_nickname_length_get(Express_Network *net);
|
||||
EXAPI void express_network_nickname_send(Express_Network *net);
|
||||
EXAPI void express_network_nick_password_set(Express_Network *net, const char *passwd);
|
||||
EXAPI void express_network_nick_password_send(Express_Network *net);
|
||||
|
|
|
@ -531,6 +531,13 @@ express_network_nickname_get(Express_Network *net)
|
|||
return net->nick;
|
||||
}
|
||||
|
||||
EXAPI int
|
||||
express_network_nickname_length_get(Express_Network *net)
|
||||
{
|
||||
if (!net) return -1;
|
||||
return net->nicklen;
|
||||
}
|
||||
|
||||
EXAPI void
|
||||
express_network_nickname_send(Express_Network *net)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue