Elektra  0.9.0
Macros | Enumerations
kdbenum.c File Reference

dummy file do document the enums which have no name in the header file. More...

Macros

#define KS_END   ((Key*)0)
 End of a list of keys. More...
 

Enumerations

enum  keyswitch_t {
  KEY_NAME =1, KEY_VALUE =1<<1, KEY_FLAGS =3, KEY_OWNER =1<<2,
  KEY_COMMENT =1<<3, KEY_BINARY =1<<4, KEY_UID =1<<5, KEY_GID =1<<6,
  KEY_MODE =1<<7, KEY_ATIME =1<<8, KEY_MTIME =1<<9, KEY_CTIME =1<<10,
  KEY_SIZE =1<<11, KEY_DIR =1<<14, KEY_META =1<<15, KEY_NULL =1<<16,
  KEY_CASCADING_NAME =1<<20, KEY_META_NAME =1<<21, KEY_END =0
}
 Allows keyNew() to determine which information comes next. More...
 
enum  elektraNamespace {
  KEY_NS_NONE =0, KEY_NS_EMPTY =1, KEY_NS_META =2, KEY_NS_CASCADING =3,
  KEY_NS_FIRST =4, KEY_NS_SPEC =4, KEY_NS_PROC =5, KEY_NS_DIR =6,
  KEY_NS_USER =7, KEY_NS_SYSTEM =8, KEY_NS_LAST =8
}
 Elektra currently supported Key namespaces. More...
 
enum  option_t {
  KDB_O_NONE =0, KDB_O_DEL =1, KDB_O_POP =1<<1, KDB_O_NODIR =1<<2,
  KDB_O_DIRONLY =1<<3, KDB_O_NOREMOVE =1<<6, KDB_O_REMOVEONLY =1<<7, KDB_O_INACTIVE =1<<8,
  KDB_O_SYNC =1<<9, KDB_O_SORT =1<<10, KDB_O_NORECURSIVE =1<<11, KDB_O_NOCASE =1<<12,
  KDB_O_WITHOWNER =1<<13, KDB_O_NOALL =1<<14
}
 Options to change the default behavior of ksLookup() functions. More...
 

Detailed Description

dummy file do document the enums which have no name in the header file.

They are duplicated here to document them.

Macro Definition Documentation

◆ KS_END

#define KS_END   ((Key*)0)

End of a list of keys.

Use this macro to define the end of a variable-length list of keys.

See also
ksNew() and ksVNew()