summaryrefslogtreecommitdiffstats
path: root/elapi/elapi_priv.h
diff options
context:
space:
mode:
authorDmitri Pal <dpal@redhat.com>2009-07-13 19:35:31 -0400
committerStephen Gallagher <sgallagh@redhat.com>2009-07-15 11:19:46 -0400
commit51b3a661529f8e3fd5ada94b95d4ba393e339dd8 (patch)
treee96497349d5740445adfe57648469146b5256c4c /elapi/elapi_priv.h
parent18871cab92aef80bd4a856454a77f8808984dbce (diff)
downloadding-libs2-51b3a661529f8e3fd5ada94b95d4ba393e339dd8.tar.gz
ding-libs2-51b3a661529f8e3fd5ada94b95d4ba393e339dd8.tar.xz
ding-libs2-51b3a661529f8e3fd5ada94b95d4ba393e339dd8.zip
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.
Diffstat (limited to 'elapi/elapi_priv.h')
-rw-r--r--elapi/elapi_priv.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/elapi/elapi_priv.h b/elapi/elapi_priv.h
new file mode 100644
index 0000000..feb9a7f
--- /dev/null
+++ b/elapi/elapi_priv.h
@@ -0,0 +1,32 @@
+/*
+ ELAPI
+
+ Private header file continaing internal data for the ELAPI interface.
+
+ Copyright (C) Dmitri Pal <dpal@redhat.com> 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 <http://www.gnu.org/licenses/>.
+*/
+
+#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