mirror of https://github.com/BOINC/boinc.git
Add API support for receiving messages
git-svn-id: svn+ssh://cvs.lpds.sztaki.hu/var/lib/svn/szdg/dcapi/trunk@409 a7169a2c-3604-0410-bc95-c702d8d87f7a
This commit is contained in:
parent
d819db03fa
commit
d6f981253b
|
@ -37,7 +37,8 @@ typedef enum {
|
|||
typedef enum {
|
||||
DC_EVENT_NONE,
|
||||
DC_EVENT_DO_CHECKPOINT,
|
||||
DC_EVENT_FINISH
|
||||
DC_EVENT_FINISH,
|
||||
DC_EVENT_MESSAGE
|
||||
} DC_Event;
|
||||
|
||||
|
||||
|
@ -105,6 +106,13 @@ int DC_sendMessage(const char *message);
|
|||
*/
|
||||
DC_Event DC_checkEvent(void **data);
|
||||
|
||||
/** Destroys the event-specific data returned by DC_checkEvent()
|
||||
*
|
||||
* @event: the received event
|
||||
* @data: the data returned by DC_checkEvent()
|
||||
*/
|
||||
void DC_destroyEvent(DC_Event event, void *data);
|
||||
|
||||
/** Indicates that an application-level checkpoint has completed.
|
||||
*
|
||||
* @fileName: the name of the checkpoint file. This should be the value
|
||||
|
|
Loading…
Reference in New Issue