diff options
author | Dmitri Pal <dpal@redhat.com> | 2009-07-13 19:35:31 -0400 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2009-07-15 11:19:46 -0400 |
commit | 735ac5cb6596ac7219881a8be1b215825de9401b (patch) | |
tree | 5a3b83f81260e93ad9f863b94843c9409dbc7aa3 /common/elapi/elapi_priv.h | |
parent | 9689454cb2d3d3b3c9e02a32ab9db13f49e8d5a2 (diff) | |
download | sssd2-735ac5cb6596ac7219881a8be1b215825de9401b.tar.gz sssd2-735ac5cb6596ac7219881a8be1b215825de9401b.tar.xz sssd2-735ac5cb6596ac7219881a8be1b215825de9401b.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 'common/elapi/elapi_priv.h')
-rw-r--r-- | common/elapi/elapi_priv.h | 32 |
1 files changed, 32 insertions, 0 deletions
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 <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 |