Diff for /freem/src/iniconf.h between versions 1.3 and 1.5

version 1.3, 2025/03/09 19:14:25 version 1.5, 2025/04/15 16:49:36
Line 25 Line 25
  *   along with FreeM.  If not, see <https://www.gnu.org/licenses/>.   *   along with FreeM.  If not, see <https://www.gnu.org/licenses/>.
  *   *
  *   $Log$   *   $Log$
    *   Revision 1.5  2025/04/15 16:49:36  snw
    *   Make use of logprintf throughout codebase
    *
    *   Revision 1.4  2025/04/02 19:59:38  snw
    *   Automatically modify env.conf from fmadm reconfigure
    *
  *   Revision 1.3  2025/03/09 19:14:25  snw   *   Revision 1.3  2025/03/09 19:14:25  snw
  *   First phase of REUSE compliance and header reformat   *   First phase of REUSE compliance and header reformat
  *   *
Line 38 Line 44
   
 #define CONF_BUFSIZE 255  #define CONF_BUFSIZE 255
   
 typedef struct ini_keyvalue {  
     char *key;  
     char *value;  
   
     struct ini_keyvalue *next;  
 } ini_keyvalue;  
   
 typedef struct ini_section {  
     char *name;  
   
     ini_keyvalue *head;  
       
     struct ini_section *next;  
 } ini_section;  
   
 extern int get_conf(char *section, char *key, char *value);  extern int get_conf(char *section, char *key, char *value);
 extern int file_exists(char *filename);  extern int file_exists(char *filename);
 extern void write_profile_string(char *file, char *section, char *key, char *value);  extern void write_profile_string(char *file, char *section, char *key, char *value);
 extern ini_keyvalue *ini_insert(ini_section *s, char *section, char *key, char *value);  extern int modify_profile_string(char *file, char *section, char *key, char *value);
 extern ini_keyvalue *ini_kv_insert(ini_section *s, char *key, char *value);  extern int read_profile_string(char *file, char *section, char *key, char *value);
 extern void ini_section_delete(ini_section *head, char *name);  
 extern void ini_key_delete(ini_section *head, char *key);  
 #endif  #endif

Removed from v.1.3  
changed lines
  Added in v.1.5


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>