summaryrefslogtreecommitdiffstats
path: root/common
Commit message (Collapse)AuthorAgeFilesLines
* Fixing type conversion in INI interface.Dmitri Pal2010-03-173-35/+197
| | | | Additional changes.
* Convert collection to use sized values.Dmitri Pal2010-03-153-75/+83
| | | | | | | This patch replaces int with int32_t, unsigned with uint32_t, long with int64_t, unsigned long with uint64_t as values that collection can store and hold.
* Build and package libini_config docsStephen Gallagher2010-03-152-2/+1
|
* Adding interface description using doxygen.Dmitri Pal2010-03-154-161/+2728
|
* Fixing verbosity and formatting of the INI unit test.Dmitri Pal2010-03-121-132/+197
|
* Do not generate man pages for COLLECION for now.Dmitri Pal2010-03-121-2/+2
|
* Package libcollection documentation into libcollection-develStephen Gallagher2010-03-082-2/+6
|
* Documentation for collection interfaceDmitri Pal2010-03-089-880/+5171
| | | | | Passed through the interface and changed the comments to comply with the collection interface.
* Properly license libdhashStephen Gallagher2010-02-184-0/+88
|
* License libpath_utils under LGPLStephen Gallagher2010-02-182-7/+38
|
* Remove ELAPI from the SSSD repositoryStephen Gallagher2010-02-1240-8421/+3
| | | | | ELAPI now lives in its own project at https://fedorahosted.org/ELAPI
* Make collection_queue.h and collection_stack.h into public headersStephen Gallagher2010-02-101-3/+3
|
* Split refarray off into a shared libraryStephen Gallagher2010-02-034-10/+13
|
* Add license files for refarrayStephen Gallagher2010-02-032-0/+839
|
* Split off libini_config into a shared libraryStephen Gallagher2010-02-034-7/+19
|
* Fix array index errorStephen Gallagher2010-02-031-1/+1
| | | | | | The null-terminator would have been written one byte past the end of the array (and there may have been an extra garbage character in the index before it)
* Add license files for ini_configStephen Gallagher2010-02-032-0/+839
|
* Split off libcollection into a shared libraryStephen Gallagher2010-02-033-7/+13
|
* Remove private header requirements from collection_tools.hStephen Gallagher2010-02-031-1/+0
|
* Add license files for collectionStephen Gallagher2010-02-032-0/+839
|
* Split off libpath_utils into a shared libraryStephen Gallagher2010-02-033-8/+11
|
* License libpath_utils under LGPLStephen Gallagher2010-02-033-0/+846
|
* COLLECTION: Fixing queue collection and unit tests.Dmitri Pal2010-02-014-298/+478
| | | | | | | | | | This patch includes following functionality: 1) Fixed the invalid handling of the pointers in the collection when last element is removed from the collection. 2) Added unit test to verify the fix. 3) Modified the three unit test to be verbose on demand. 4) Switched the main of the unit test to use array of functions rather than big if statement.
* REFARRAY: New referenced array objectDmitri Pal2010-01-219-2/+802
| | | | | | | | | | | | | | | | | | | This object allows creation the arrays with the reference count. Usefull when there are many instances of some object have to reference dynamically allocated array which is common for all these instances. In case of ELAPI the event object keeps a referecne to the common array of the sinks in the fail over order. We decided that it will be a common object not specific only to ELAPI. All the review concerns related to this object have been addressed in this patch. It also has been moved to the common area.
* INI: Added method to get string list with empty valuesDmitri Pal2010-01-213-54/+117
| | | | | | | | | | | The original implementation was compressing the list, throwing away empty strings. The function that did that was pretty brain damaging. I cleaned it up and adjusted so that it could return list with empty values and without them. The old function was turned into a wrapper and a new high level function was intorduced to provide ability to get both empty and non empty strings.
* Use version.m4 for setting the SSSD versionStephen Gallagher2010-01-211-1/+2
| | | | | | | | This is the preferred way of setting the version in a file, as autotools will properly monitor this file for changes and rerun autoconf/configure when necessary to update the version. This means that we don't need to manually perform an autoreconf in order to build a new RPM
* Split off libdhash into a shared libraryStephen Gallagher2010-01-205-9/+16
| | | | | | | | Right now, the pkg-config checks for the system version of libdhash are forcibly disabled, requiring the SSSD to build it from its own tree. In the future, when we split the libraries off from the SSSD, it will be easy to switch this check to the external library.
* License libdhash under the LGPLStephen Gallagher2010-01-203-0/+844
|
* Add elapi_ut.conf to the list of dist filesSumit Bose2009-12-152-3/+4
| | | | Some newlines are added, too.
* INI Correcting build warnings.Dmitri Pal2009-12-102-8/+7
| | | | | | The previous patch included "config.h" into the public header which caused all sorts of redefinitions and warnings.
* INI: Cleaning FIXME comments.Dmitri Pal2009-12-103-7/+16
| | | | | | | Added configurable key length. Changed comments for the functions that are currently not used and reserved for future functionality.
* COLLECTION: Cleaning FIXME commentsDmitri Pal2009-12-103-20/+2
| | | | | | | I scanned through the code and made sure that the FIXME comments are either addressed or a corresponding ticket exists. I removed two comments that had "FIXME" in them. The tickets for those comments are #72 and #308.
* COLLECTION Create reference to the top level collectionDmitri Pal2009-12-103-21/+47
| | | | | | | | | | | | | This patch adds ability to create a reference to the top level collection. Previously one could get reference only to collection inside other collection. With this change it becomes possible to have two pointers to the same top level collection from multiple places. COLLECTION Adding comment. COLLECTION: Some tracing
* COMMON Improvements to the trace macroDmitri Pal2009-12-101-9/+15
| | | | | Added more distingushable indication to the trace messages that represent errors.
* Add comments to document latest changesSimo Sorce2009-12-081-0/+7
|
* dhash: Add private pointer for delete callbackSimo Sorce2009-12-084-13/+35
| | | | | Also pass a flag to the delete callback to tell it if this is a normal entry removal or we are cleaning up the tbale definitively.
* Run dhash testsStephen Gallagher2009-12-081-0/+2
| | | | Previously we were only building them but not running them.
* Change dhash API to be talloc-friendlySimo Sorce2009-12-083-39/+78
|
* Revert "Remove ELAPI from build and tarball"Stephen Gallagher2009-12-011-2/+3
| | | | This reverts commit 9a446ad6d6445ed22f0d5132a241a3c8be5e1008.
* Revert "Stop configuring ELAPI"Stephen Gallagher2009-12-011-1/+1
| | | | This reverts commit a7360aa07780133b77c7fa0ab629b5e660e1e49a.
* Stop configuring ELAPIStephen Gallagher2009-12-011-1/+1
|
* Remove ELAPI from build and tarballStephen Gallagher2009-12-011-3/+2
| | | | | | Until such time as ELAPI is in a usable state, it makes no sense to be building and distributing it in the tarball. This patch will disable it from building and inclusion in the tarball.
* Clean up warnings in dhash testsStephen Gallagher2009-10-292-9/+9
|
* ELAPI Compatibility code for getifaddr()Dmitri Pal2009-10-1610-20/+357
| | | | | | | | | | Addreses ticket #94 Actually works pretty well. To try use --enable-compat when build ELAPI. It will use compatibility code instead of getifaddr(). The trick in the elapi_ioctl.h with memory allocation is taken from Stevens book.
* ELAPI Fixed the host name resolutionDmitri Pal2009-10-052-13/+111
| | | | | | | | The issue was that the host IP was recorded twice, once as a main address and another as IP alias. It seemed that the IP was returned as name but the issue turned out to be different. See https://fedorahosted.org/sssd/ticket/207.
* ELAPI Rename variables and functions not to use word templateDmitri Pal2009-10-057-113/+113
| | | | | | Addressing Ticket #191. Renamed all varibles from 'template' to 'tpl'. Used 'tplt' in function names instead of 'templete'.
* INI Add config_from_fd() to ini_configStephen Gallagher2009-10-053-22/+239
| | | | | | | Patch adds ability to read configuration using already open file descriptor. Started by Steve G and refined a bit by me.
* ELAPI Fixing warnings in the exampleDmitri Pal2009-10-051-2/+9
|
* ELAPI Resolving message attributeDmitri Pal2009-10-058-57/+536
| | | | | | | | | | | | This patch continues work started with the previous patch. It resolves message attribute. Message attribute is a special attribute in the event that may contain references to other attributes in the event. When message is resolved the references are replaced with actual values of the referenced attributes.
* ELAPI Event resolverDmitri Pal2009-10-0514-95/+828
| | | | | | | | | | | | | | | | | Started working on the async processing and realised that I need to have a good copy of the event with all the fields resolved so this patch has some foundation for the async functions (module elapi_async.c) but they are mostly stubbed out. The actual code will be added down the road. Instead the patch focuses on the code introduced in elapi_resolve.c module and the use of the functions from it. It also adds the implementation of the high level calls that initialize ELAPI with the external callbacks to be used during async processing (elapi_log.c).