summaryrefslogtreecommitdiffstats
path: root/common/elapi/elapi_priv.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_priv.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_priv.h')
-rw-r--r--common/elapi/elapi_priv.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/common/elapi/elapi_priv.h b/common/elapi/elapi_priv.h
index e7480f90b..15a03074f 100644
--- a/common/elapi/elapi_priv.h
+++ b/common/elapi/elapi_priv.h
@@ -38,7 +38,7 @@
#define COL_CLASS_ELAPI_RES_ITEM COL_CLASS_ELAPI_BASE + 5
/* Names for the collections */
-#define E_TEMPLATE_NAME "template"
+#define E_TEMPLATE_NAME "tplt"
#define E_EVENT_NAME "event"
/* Constants used in INI file and in
@@ -110,7 +110,7 @@ struct elapi_dispatcher {
/* Items to resolve */
struct collection_iterator *resolve_list;
/* Default event template */
- struct collection_item *default_template;
+ struct collection_item *default_tpl;
/* Async processing related data */
struct elapi_async_ctx *async_ctx;
};
@@ -236,14 +236,14 @@ int elapi_init_resolve_list(struct collection_iterator **list);
/* Function to create event using arg list */
int elapi_create_event_with_vargs(struct collection_item **event,
- struct collection_item *template,
+ struct collection_item *tpl,
struct collection_item *collection,
int mode, va_list args);
/* Function to create event template using arg list */
-int elapi_create_event_template_with_vargs(struct collection_item **template,
- unsigned base,
- va_list args);
+int elapi_create_event_tplt_with_vargs(struct collection_item **tpl,
+ unsigned base,
+ va_list args);
/* Sink handler function */
int elapi_sink_cb(const char *sink,