835 |
|
|
836 |
void lscp_server_info_init ( lscp_server_info_t *pServerInfo ) |
void lscp_server_info_init ( lscp_server_info_t *pServerInfo ) |
837 |
{ |
{ |
838 |
pServerInfo->description = NULL; |
pServerInfo->description = NULL; |
839 |
pServerInfo->version = NULL; |
pServerInfo->version = NULL; |
840 |
|
pServerInfo->protocol_version = NULL; |
841 |
} |
} |
842 |
|
|
843 |
void lscp_server_info_free ( lscp_server_info_t *pServerInfo ) |
void lscp_server_info_free ( lscp_server_info_t *pServerInfo ) |
846 |
free(pServerInfo->description); |
free(pServerInfo->description); |
847 |
if (pServerInfo->version) |
if (pServerInfo->version) |
848 |
free(pServerInfo->version); |
free(pServerInfo->version); |
849 |
|
if (pServerInfo->protocol_version) |
850 |
|
free(pServerInfo->protocol_version); |
851 |
} |
} |
852 |
|
|
853 |
void lscp_server_info_reset ( lscp_server_info_t *pServerInfo ) |
void lscp_server_info_reset ( lscp_server_info_t *pServerInfo ) |