EVENTSET: eventset_insert() - insert an event into an EVENTSET

Name

eventset_insert()

Synopsis

#include "eventset.h"
err_t eventset_insert(EVENTSET *evs, ACTIVE_JOB *acp)

Description

The eventset_insert() function inserts an event into an EVENTSET. Note that the ACTIVE_JOB object has no constructor and must be initialized by hand before calling eventset_insert(). You must initialize the following fields of the ACTIVE_JOB structure before calling eventset_insert():

Return value

eventset_insert() returns NULL if successful, or non-NULL otherwise. If non-NULL, the err_t object contains error strings which may be printed or otherwise communicated to the user.

See also

eventset_delete()