Go to the source code of this file.
Data Structures | |
| struct | IFT_KEY_AND_VALUE |
| struct | IFT |
Functions | |
| void | libift_printdate (FILE *fp) |
| void | iftSetStatus (IFT *ift, int status) |
| void | iftInit (IFT *ift) |
| void | iftEmpty (IFT *ift) |
| int | iftPut (IFT *ift, char *key, char *value, char *cmt_type) |
| int | iftRead (IFT *ift, char *filename, int is_key_required) |
| int | iftWriteItem (IFT *ift, int item, FILE *fp) |
| int | iftWrite (IFT *ift, char *filename) |
| int | iftGet (IFT *ift, char *key) |
| int | iftGetNth (IFT *ift, char *key, int n) |
| int | iftFindNthKey (IFT *ift, char *str, int n) |
| int | iftFindNthValue (IFT *ift, char *str, int n) |
| int | iftDeleteItem (IFT *ift, int item) |
| int | iftReplaceNthValue (IFT *ift, int item, char *value) |
Variables | |
| int | IFT_TEST |
|
||||||||||||
|
Remove the specified item from IFT.
|
|
|
Free memory allocated for IFT. All contents are destroyed. |
|
||||||||||||||||
|
Find the Nth item of IFT where the specified string is found in the key. Comparison is case sensitive.
|
|
||||||||||||||||
|
Find the Nth item of IFT where the specified string is found in the value. Comparison is case sensitive.
|
|
||||||||||||
|
Find the key in the IFT and return the index [0..keyNr-1]. Key is case insensitive.
|
|
||||||||||||||||
|
Find the Nth key with similar name in the IFT and return the index [0..keyNr-1]. Key is case insensitive.
|
|
|
Initiate IFT structure. This should be called once before first use. |
|
||||||||||||||||||||
|
Add specified key and its value to the IFT. Also comment type (first character pointed to) can be added. Either key or value can be empty, but not both of them.
|
|
||||||||||||||||
|
Read IFT file keys and values. Previous contents of IFT are preserved. This function can read the initial ASCII part of files that contain also binary data.
|
|
||||||||||||||||
|
Replaces specified value in IFT with a new value.
|
|
||||||||||||
|
|
|
||||||||||||
|
Write all keys and values.
|
|
||||||||||||||||
|
Write one item in IFT to the specified file pointer.
|
|
|
Print the compilation date and time to specified FILE pointer |
|
|
|
1.3.9.1