remove spaces at end of line
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3743 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
parent
4439f4d3a2
commit
8874c50e86
@ -18,7 +18,7 @@ It isn't
|
|||||||
It doesn't have
|
It doesn't have
|
||||||
- anything else but data. No locking, no threads etc.
|
- anything else but data. No locking, no threads etc.
|
||||||
|
|
||||||
It has heirarchical data blocks, it has lists.
|
It has heirarchical data blocks, it has lists.
|
||||||
|
|
||||||
Similar, but different:
|
Similar, but different:
|
||||||
- .ini files. scconf is block structured, has lists and arrays
|
- .ini files. scconf is block structured, has lists and arrays
|
||||||
@ -216,8 +216,8 @@ typedef struct _scconf_entry {
|
|||||||
* Look for blocks with this key, or check if this
|
* Look for blocks with this key, or check if this
|
||||||
* block has an item with this key. Run the block
|
* block has an item with this key. Run the block
|
||||||
* or blocks found against the rest of this entry
|
* or blocks found against the rest of this entry
|
||||||
* Stop after the first one, unless
|
* Stop after the first one, unless
|
||||||
* SCCONF_ALL_BLOCKS is set in flags
|
* SCCONF_ALL_BLOCKS is set in flags
|
||||||
unsigned int type;
|
unsigned int type;
|
||||||
* SCCONF_CALLBACK
|
* SCCONF_CALLBACK
|
||||||
* parm contains a function ptr of type
|
* parm contains a function ptr of type
|
||||||
@ -226,7 +226,7 @@ typedef struct _scconf_entry {
|
|||||||
* scconf_entry* entry,
|
* scconf_entry* entry,
|
||||||
* int depth);
|
* int depth);
|
||||||
* run the callback with the block found
|
* run the callback with the block found
|
||||||
*
|
*
|
||||||
* SCCONF_BLOCK
|
* SCCONF_BLOCK
|
||||||
* param contains a pointer to another entry table
|
* param contains a pointer to another entry table
|
||||||
* use the found block against every entry
|
* use the found block against every entry
|
||||||
@ -269,7 +269,7 @@ typedef struct _scconf_entry {
|
|||||||
* where a pointer to a copy of list
|
* where a pointer to a copy of list
|
||||||
* can be stored
|
* can be stored
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
unsigned int flags;
|
unsigned int flags;
|
||||||
* SCCONF_PRESENT
|
* SCCONF_PRESENT
|
||||||
* This bit is or'ed in when found
|
* This bit is or'ed in when found
|
||||||
@ -298,8 +298,8 @@ Sub-blocks can be added, and callbacks can be issued.
|
|||||||
This is a handy method for adding scconf data from within a program.
|
This is a handy method for adding scconf data from within a program.
|
||||||
|
|
||||||
typedef struct _scconf_entry {
|
typedef struct _scconf_entry {
|
||||||
const char *name;
|
const char *name;
|
||||||
* key value for blocks and items *
|
* key value for blocks and items *
|
||||||
unsigned int type;
|
unsigned int type;
|
||||||
* SCCONF_CALLBACK
|
* SCCONF_CALLBACK
|
||||||
* parm contains a function ptr of type
|
* parm contains a function ptr of type
|
||||||
@ -307,12 +307,12 @@ typedef struct _scconf_entry {
|
|||||||
* scconf_block* block,
|
* scconf_block* block,
|
||||||
* scconf_entry* entry,
|
* scconf_entry* entry,
|
||||||
* int depth);
|
* int depth);
|
||||||
*
|
*
|
||||||
* SCCONF_BLOCK
|
* SCCONF_BLOCK
|
||||||
* param contains a pointer to another entry table
|
* param contains a pointer to another entry table
|
||||||
* the entry table is added as a block to the
|
* the entry table is added as a block to the
|
||||||
* current block, with name as the key, and
|
* current block, with name as the key, and
|
||||||
* arg is a list of names
|
* arg is a list of names
|
||||||
*
|
*
|
||||||
* SCCONF_LIST
|
* SCCONF_LIST
|
||||||
* SCCONF_BOOLEAN
|
* SCCONF_BOOLEAN
|
||||||
@ -320,7 +320,7 @@ typedef struct _scconf_entry {
|
|||||||
* SCCONF_STRING
|
* SCCONF_STRING
|
||||||
* these add key=value pairs to the current
|
* these add key=value pairs to the current
|
||||||
* block. The value is in parm.
|
* block. The value is in parm.
|
||||||
*
|
*
|
||||||
unsigned int flags;
|
unsigned int flags;
|
||||||
* SCCONF_PRESENT
|
* SCCONF_PRESENT
|
||||||
* This bit is or'ed in when item added
|
* This bit is or'ed in when item added
|
||||||
|
Loading…
Reference in New Issue
Block a user