diff options
author | Dmitri Pal <dpal@redhat.com> | 2009-10-02 16:22:25 -0400 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2009-10-05 17:15:40 -0400 |
commit | 9c2046dd570c9be06fc0f10e3ae0b1571d6310ac (patch) | |
tree | 67a2d80cd19785609e9f9d0e6a2ec310057f39ad /common/elapi/elapi_event.h | |
parent | 10a51211bf8c634a82f52f3b7c0fe0de0ddbab86 (diff) | |
download | sssd-9c2046dd570c9be06fc0f10e3ae0b1571d6310ac.tar.gz sssd-9c2046dd570c9be06fc0f10e3ae0b1571d6310ac.tar.bz2 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.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/common/elapi/elapi_event.h b/common/elapi/elapi_event.h index 3e52dfdb..c83eec8b 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. |