From 735ac5cb6596ac7219881a8be1b215825de9401b Mon Sep 17 00:00:00 2001 From: Dmitri Pal Date: Mon, 13 Jul 2009 19:35:31 -0400 Subject: ELAPI First part of the interface This is just a part of the interface, a beginning. Most likely some of the functions will be altered but it is a starting point. For example in future there will be a way to override some of the parts of the default template using the application configuration file. Removed obfuscation of the data types based on discussion with Simo. --- common/elapi/elapi_priv.h | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 common/elapi/elapi_priv.h (limited to 'common/elapi/elapi_priv.h') diff --git a/common/elapi/elapi_priv.h b/common/elapi/elapi_priv.h new file mode 100644 index 00000000..feb9a7f6 --- /dev/null +++ b/common/elapi/elapi_priv.h @@ -0,0 +1,32 @@ +/* + ELAPI + + Private header file continaing internal data for the ELAPI interface. + + Copyright (C) Dmitri Pal 2009 + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + You should have received a copy of the GNU General Public License + along with this program. If not, see . +*/ + +#ifndef ELAPI_PRIV_H +#define ELAPI_PRIV_H + +/* Classes of the collections used by ELAPI internally */ +#define COL_CLASS_ELAPI_BASE 21000 +#define COL_CLASS_ELAPI_EVENT COL_CLASS_ELAPI_BASE + 0 +#define COL_CLASS_ELAPI_TEMPLATE COL_CLASS_ELAPI_BASE + 1 + +/* Names for the collections */ +#define E_TEMPLATE_NAME "template" +#define E_EVENT_NAME "event" + +#endif -- cgit