summaryrefslogtreecommitdiffstats
path: root/obj.h
Commit message (Expand)AuthorAgeFilesLines
* implemented module unload handling (required a number of interface changes)Rainer Gerhards2008-03-111-2/+6
* - added RSYSLOGD_MODDIR environment variableRainer Gerhards2008-03-071-1/+1
* corrected invalid function definitionRainer Gerhards2008-02-291-1/+1
* - added "debug" command to debug environment settingsRainer Gerhards2008-02-291-6/+6
* changed obj base object's calling interface to use the new obj_if_tRainer Gerhards2008-02-291-17/+33
* simplified var object, now only supports strings and numbers as a singleRainer Gerhards2008-02-221-4/+4
* used new classes in expr.cRainer Gerhards2008-02-201-0/+1
* created var class out of property_tRainer Gerhards2008-02-201-4/+5
* - renamed Msg object to usual all-lowercase object name (else we ran intoRainer Gerhards2008-01-301-0/+1
* implemented naming for all objects (mostly as a debug aid, but you neverRainer Gerhards2008-01-291-2/+4
* redesigned queue to utilize helper classes for threading support. This isRainer Gerhards* added function to de-serialize a property bag (untested as other code isRainer Gerhards2008-01-111-0/+1
* support for object property bags addedRainer Gerhards2008-01-111-0/+1
* file stream objects are now persistet on immediate queue shutdown (queueRainer Gerhards2008-01-111-2/+8
* - implemented strm object serializer (untested as the code required forRainer Gerhards2008-01-101-0/+2
* chanolor="#990000">(pThis->ppTplName); } <1-1/+1
* - added write functions for several types to stream classRainer Gerhards2008-01-101-8/+7
* made queue file names better readableRainer Gerhards2008-01-101-0/+28
* some cleanup on object modelRainer Gerhards2008-01-091-123/+3
* changed queue class to use stream classRainer Gerhards2008-01-091-0/+10
* created a generic stream class (for file access)Rainer Gerhards2008-01-091-5/+34
* completed object deserializerRainer Gerhards2008-01-081-1/+1
* - first implementation of "disk" queue mode finished. It still needs someRainer Gerhards2008-01-081-2/+3
* - MsgSetProperty() implementedRainer Gerhards2008-01-071-7/+36
* implemented class type registryRainer Gerhards2008-01-071-1/+5
* performance-tuned stringbuf classRainer Gerhards2008-01-071-1/+1
* worked on object header (now also contains the size)Rainer Gerhards2008-01-061-2/+3
* completed serializer for msg (but needs review)Rainer Gerhards2008-01-061-1/+7
* worked a bit on object serializationRainer Gerhards2008-01-061-3/+21
* utilized the new auto-destruction capability so that the queue can nowRainer Gerhards2008-01-041-1/+1
* removed serialization pointer from queue; used new base class insteadRainer Gerhards2008-01-041-2/+3
* - begun some work on Msg Object serializiationRainer Gerhards2008-01-041-0/+82
r="#990000">]); pThis->ppTplName[iEntry] = pTplName; pThis->piTplOpts[iEntry] = iTplOpts; return RS_RET_OK; } /* get number of entries for this object */ int OMSRgetEntryCount(omodStringRequest_t *pThis) { assert(pThis != NULL); return pThis->iNumEntries; } /* return data for a specific entry. All data returned is * read-only and lasts only as long as the object lives. If the caller * needs it for an extended period of time, the caller must copy the * strings. Please note that the string pointer may be NULL, which is the * case when it was never set. */ int OMSRgetEntry(omodStringRequest_t *pThis, int iEntry, uchar **ppTplName, int *piTplOpts) { assert(pThis != NULL); assert(ppTplName != NULL); assert(piTplOpts != NULL); assert(iEntry < pThis->iNumEntries); *ppTplName = pThis->ppTplName[iEntry]; *piTplOpts = pThis->piTplOpts[iEntry]; return RS_RET_OK; } /* * vi:set ai: */