Changeset 72b6783e for lib/ini.h


Ignore:
Timestamp:
2008-12-24T09:00:42Z (11 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
489f996
Parents:
5469952
Message:

First version of new ini parser. Will just attempt to simplify code a bit.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/ini.h

    r5469952 r72b6783e  
    2929typedef struct
    3030{
    31         FILE *fp;
    3231        int line;
    33         char c_section[MAX_STRING];
    34         char section[MAX_STRING];
    35         char key[MAX_STRING];
    36         char value[MAX_STRING];
     32        char *c_section;
     33        char *section;
     34        char *key;
     35        char *value;
     36        int size;
     37        char *cur, *tok;
     38        char file[];
    3739} ini_t;
    3840
Note: See TracChangeset for help on using the changeset viewer.