From 9c2046dd570c9be06fc0f10e3ae0b1571d6310ac Mon Sep 17 00:00:00 2001 From: Dmitri Pal Date: Fri, 2 Oct 2009 16:22:25 -0400 Subject: 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'. --- common/elapi/elapi_priv.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'common/elapi/elapi_priv.h') diff --git a/common/elapi/elapi_priv.h b/common/elapi/elapi_priv.h index e7480f90..15a03074 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, -- cgit