ewdb_internal_CreateSnippetRequest()

Prototype:
int ewdb_internal_CreateSnippetRequest( EWDB_SnippetRequestStruct * pSnipReq);
Source File: src/oracle/schema-working/src/concierge/ewdb_internal_CreateSnippetRequest.c
Description: The Function creates a SnippetRequest record in the DB. The record describes snippet data that the caller wants stored in the DB. (This call does not retrieve snippet data, it only records the request.) A snippet is essentially a piece of data from a given channel for a given time interval. The EWDB_SnippetRequestStruct passed by the caller describes both the snippet to be retrieved and also the frequency for attempting to retrieve the snippet. The function will write the DB ID of the newly created snippet request back to pSnipReq->idSnipReq.
Note: The function ignores pSnipReq->ComponentInfo and pSnipReq->idExistingWaveform.

RETURN CODE INFO
Return Type: int
Return Value Description
EWDB_RETURN_FAILURE Fatal error. See logfile for details.
EWDB_RETURN_SUCCESS Success.

PARAMETER INFO
Parameter Type Description
pSnipReq EWDB_SnippetRequestStruct * Pointer to an EWDB_SnippetRequestStruct that contains parameters describing what waveform snippet should be retrieved.

Group: EWDB_API_LIB
Sub Group: WAVEFORM_REQUEST-INTERNAL
Language: C
Location: ./src/oracle/schema-working/src/include/internal/ewdb_internal_functions.h