Status: Implemented.
Status: You can set or change a property value in any section, by providing it. When section is null, the result is not indetermined.
Status: working when specifying the section from where the property should be removed. Same as Load and parse if section is null.
Status: may be implemented in the future.
Don't know what to do with this, but I have some ideas.
A) It should scan for duplicate properties.
Example: If "guest ok" is present two times in the [global] section, the last should be keeped but the first be deleted.
B) If we found some property which is not a section "[text]" nor a "property = value" syntax, should inform the user and ask him if he want to delete it.
Status: Implemented. By now it asks where you want to save the resulting file. In fact it should overwrite the existing file, probably after making a backup.
struct ligne { char var[MAX_LENGTH_LINE]; char value[MAX_LENGTH_VALUES]; int is_section; struct ligne *suivant; struct ligne *precedent; };Section is 0 when it represents a new [section], 1 is a property "name = Yes", and negative number is a comment.
#define MAX_LENGTH_OPTION 50 #define MAX_LENGTH_VALUES 80 #define MAX_LENGTH_LINE 256