348 |
// GET AVAILABLE_ENGINES |
// GET AVAILABLE_ENGINES |
349 |
pszResult = "3\r\n"; |
pszResult = "3\r\n"; |
350 |
} |
} |
351 |
|
else if (lscp_parser_test2(&tok, "SERVER", "INFO")) { |
352 |
|
// Getting information about the server. |
353 |
|
// GET SERVER INFO |
354 |
|
sprintf(szTemp, "DESCRIPTION: example_server (%s) %s\r\n" |
355 |
|
"VERSION: %s\r\n", lscp_server_package(), |
356 |
|
lscp_server_build(), lscp_server_version()); |
357 |
|
pszResult = szTemp; |
358 |
|
} |
359 |
else if (lscp_parser_test2(&tok, "ENGINE", "INFO")) { |
else if (lscp_parser_test2(&tok, "ENGINE", "INFO")) { |
360 |
// Getting information about an engine. |
// Getting information about an engine. |
361 |
// GET ENGINE INFO <engine-name> |
// GET ENGINE INFO <engine-name> |