event.h   event.h 
/** /**
* @file event.h * @file event.h
* @brief Representation of an event. * @brief Representation of an event.
* @class ee_event event.h * @class ee_event event.h
* *
*//* *//*
* *
* Libee - An Event Expression Library inspired by CEE * Libee - An Event Expression Library inspired by CEE
* Copyright 2010,2011 by Rainer Gerhards and Adiscon GmbH. * Copyright 2010-2012 by Rainer Gerhards and Adiscon GmbH.
* *
* This file is part of libee. * This file is part of libee.
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public * modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either * License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version. * version 2.1 of the License, or (at your option) any later version.
* *
* This library is distributed in the hope that it will be useful, * This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
skipping to change at line 56 skipping to change at line 56
* @memberof ee_event * @memberof ee_event
* @public * @public
* *
* @param[in] ctx associated library context * @param[in] ctx associated library context
* *
* @return new library context or NULL if an error occured * @return new library context or NULL if an error occured
*/ */
struct ee_event* ee_newEvent(ee_ctx ctx); struct ee_event* ee_newEvent(ee_ctx ctx);
/** /**
* Create an event from a JSON string.
*
* @memberof ee_event
* @public
*
* @param[in] ctx associated library context
* @param[in] json JSON classical C-string to create event from
*
* @return new library context or NULL if an error occured
*/
struct ee_event* ee_newEventFromJSON(ee_ctx ctx, char *json);
/**
* Destructor for the ee_event object. * Destructor for the ee_event object.
* *
* @memberof ee_event * @memberof ee_event
* @public * @public
* *
* @param event The event to be discarded. * @param event The event to be discarded.
*/ */
void ee_deleteEvent(struct ee_event *event); void ee_deleteEvent(struct ee_event *event);
/** /**
 End of changes. 2 change blocks. 
1 lines changed or deleted 14 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/