14 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
15 |
Lesser General Public License for more details. |
Lesser General Public License for more details. |
16 |
|
|
17 |
You should have received a copy of the GNU Lesser General Public |
You should 14have received a copy of the GNU Lesser General Public |
18 |
License along with this library; if not, write to the Free Software |
License along with this library; if not, write to the Free Software |
19 |
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
20 |
|
|
348 |
pClient->iStreamCount = 0; |
pClient->iStreamCount = 0; |
349 |
// Default timeout value. |
// Default timeout value. |
350 |
pClient->iTimeout = LSCP_TIMEOUT_MSECS; |
pClient->iTimeout = LSCP_TIMEOUT_MSECS; |
351 |
|
pClient->iTimeoutCount = 0; |
352 |
|
|
353 |
// Initialize the transaction mutex. |
// Initialize the transaction mutex. |
354 |
lscp_mutex_init(pClient->mutex); |
lscp_mutex_init(pClient->mutex); |
1492 |
lscp_mutex_lock(pClient->mutex); |
lscp_mutex_lock(pClient->mutex); |
1493 |
|
|
1494 |
pServerInfo = &(pClient->server_info); |
pServerInfo = &(pClient->server_info); |
1495 |
lscp_engine_info_reset(pServerInfo); |
lscp_server_info_reset(pServerInfo); |
1496 |
|
|
1497 |
if (lscp_client_call(pClient, "GET SERVER INFO\r\n") == LSCP_OK) { |
if (lscp_client_call(pClient, "GET SERVER INFO\r\n") == LSCP_OK) { |
1498 |
pszResult = lscp_client_get_result(pClient); |
pszResult = lscp_client_get_result(pClient); |