summaryrefslogtreecommitdiffstats
path: root/common/elapi/elapi_event.h
diff options
context:
space:
mode:
authorDmitri Pal <dpal@redhat.com>2009-10-02 16:22:25 -0400
committerStephen Gallagher <sgallagh@redhat.com>2009-10-05 17:15:40 -0400
commit9c2046dd570c9be06fc0f10e3ae0b1571d6310ac (patch)
tree67a2d80cd19785609e9f9d0e6a2ec310057f39ad /common/elapi/elapi_event.h
parent10a51211bf8c634a82f52f3b7c0fe0de0ddbab86 (diff)
downloadsssd-9c2046dd570c9be06fc0f10e3ae0b1571d6310ac.tar.gz
sssd-9c2046dd570c9be06fc0f10e3ae0b1571d6310ac.tar.xz
sssd-9c2046dd570c9be06fc0f10e3ae0b1571d6310ac.zip
ELAPI Rename variables and functions not to use word template
Addressing Ticket #191. Renamed all varibles from 'template' to 'tpl'. Used 'tplt' in function names instead of 'templete'.
Diffstat (limited to 'common/elapi/elapi_event.h')
-rw-r--r--common/elapi/elapi_event.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/common/elapi/elapi_event.h b/common/elapi/elapi_event.h
index 3e52dfdb6..c83eec8ba 100644
--- a/common/elapi/elapi_event.h
+++ b/common/elapi/elapi_event.h
@@ -128,11 +128,11 @@
* The list of key value pairs MUST be terminated by special
* argument E_EOARG.
*/
-int elapi_create_event_template(struct collection_item **template,
- unsigned base, ...);
+int elapi_create_event_tplt(struct collection_item **tpl,
+ unsigned base, ...);
/* Function to destroy event template */
-void elapi_destroy_event_template(struct collection_item *template);
+void elapi_destroy_event_tplt(struct collection_item *tpl);
/***************************************************************************/
/* Creates a new event using template (must be provided)
@@ -143,7 +143,7 @@ void elapi_destroy_event_template(struct collection_item *template);
* See example for details about format specification.
*/
int elapi_create_event(struct collection_item **event,
- struct collection_item *template,
+ struct collection_item *tpl,
struct collection_item *collection,
int mode, ...);
@@ -163,10 +163,10 @@ void elapi_destroy_event(struct collection_item *event);
/* TREAD UNSAFE ELAPI EVENT API - for simple use cases */
/***************************************************************************/
/* Initializes default internal template */
-int elapi_set_default_template(unsigned base, ...);
+int elapi_set_default_tplt(unsigned base, ...);
/* Retrieve default template */
-int elapi_get_default_template(struct collection_item **template);
+int elapi_get_default_tplt(struct collection_item **tpl);
/* This function will use internal default template.