xdasd_event.c File Reference

OpenXDAS event message buffer parsing and handling. More...

#include <xdasd.h>
#include "xdasd_log.h"
#include "xdasd_event.h"
#include "xdasd_parse.h"
#include "xdasd_logger.h"
#include "xdasd_trigger.h"
#include "xdasd_filter.h"
#include <stdlib.h>
#include <stddef.h>

Go to the source code of this file.

Functions

static int ev_check (int *minorp, Parsed *parsed, int onlycheck)
 Process an event check message (XDASD_EVT_SRQ_CHECK).
static int ev_parse (int *minorp, int impflag, size_t msgsz, const char *msg, Parsed **parsedp)
 Map internal parser codes to normalized XDAS error codes.
static int ev_logger_append (Parsed *parsed)
 Map internal parser codes to normalized XDAS error codes.
static int xdasd_event_check (int *minorp, int impflag, size_t msgsz, const char *msg)
 Process an event check message (XDASD_EVT_SRQ_CHECK).
static int xdasd_event_check_and_submit (int *minorp, int impflag, size_t msgsz, const char *msg)
 Process an event check and submit message (XDASD_EVT_SRQ_CHECK_AND_SUBMIT).
int xdasd_event_process (int *minorp, xdas_buffer req, xdas_buffer *rspp)
 Process an event message (XDAS_MSG_EVENT_SEND, XDAS_MSG_EVENT_CHECK).


Detailed Description

OpenXDAS event message buffer parsing and handling.

Author:
John Calcote (jcalcote@novell.com)
Attention:
Please submit patches to http://openxdas.sourceforge.net

Definition in file xdasd_event.c.


Generated on Thu Aug 20 22:33:07 2009 for OpenXDAS by  doxygen 1.5.6