size_t messageLength,
const char ** jobDoc );
size_t Jobs_GetJobDocument(const char *message, size_t messageLength, const char **jobDoc)
Retrieves the job document from a given message (if applicable)
Definition: jobs.c:923
Retrieves the job document from a given message (if applicable)
- Parameters
-
| message | [In] A JSON formatted message which |
| messageLength | [In] The length of the message |
| jobDoc | [Out] The job document |
- Returns
- size_t The length of the job document
Example
const char * message;
size_t messageLength;
const char * jobDoc;
size_t jobDocLength = 0U;
messageLength,
&jobDoc);
if ( jobDocLength > 0 )
{
}