summaryrefslogtreecommitdiff
path: root/shared
AgeCommit message (Collapse)AuthorFilesLines
2012-04-03Fix `unused-result' warnings.Jonas Ådahl1-2/+4
Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
2012-03-12Consolidate image loading code and move to shared/Kristian Høgsberg3-0/+388
2012-03-12Add an option parserKristian Høgsberg3-0/+101
On one hand, getopt (in particular the -o suboption syntax) sucks on the server side, and on the client side we would like to avoid the glib dependency. We can roll out own option parser and solve both problems and save a few lines of code total.
2012-01-27Implement CONFIG_KEY_UNSIGNED_INTEGERScott Moreau2-3/+14
strtol() does not work when trying to assign 32 bits of data into a regular signed int on 32 bit systems. Use corresponding strtoul() instead.
2011-12-08Use '-' to separate words in file namesKristian Høgsberg3-4/+5
Eventually we will want more functionality in the shared library and we will rename it at that point. Perhaps we'll name it libnih, but for now let's stick with libconfig-parser.
2011-12-08configparser: rename BOOL, document typesPekka Paalanen2-6/+6
Rename CONFIG_KEY_BOOL to CONFIG_KEY_BOOLEAN, just like CONFIG_KEY_INTEGER is not CONFIG_KEY_INT, for consistency. Document the types expected for the void* and name the enum in the header, so it is clear what config_key::type means. Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
2011-12-08move config parser to a convenience libraryPekka Paalanen3-0/+229
Create a new directory for convenience librariers that can be shared between compositor components and clients. Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>