/* +JMJ
 * inifile.c - INI file reader/parser module
 * 2014 David Meyer <papa@sdf.org>
 */

#include "krcompat.h"
#include "adamstyl.h"
#include "inifile.h"

/*    initialize_ini_info - initialize all group/key/value arrays
 */
void initialize_ini_info ()
{
}

/*    is_defined_group - Have any keys been parsed in the specified group?
 */
int is_defined_group (ogroup)
     char* ogroup;
{
  return TRUE;
}

/*    is_defined_key - Has the specified group/key combination been parsed?
 */
int is_defined_key (ogroup, okey)
     char* ogroup;
     char* okey;
{
  return TRUE;
}

/*    ofgrp - First group name
 */
char* ofgrp ()
{
  return "";
}

/*    ofkog - First key in specified group
 */
char* ofkog (ogroup)
     char* ogroup;
{
  return "";
}

/*    ongrp - Next group name
 */
char* ongrp ()
{
  return "";
}

/*    onkog - Next key in previously specified group
 */
char* onkog ()
{
  return "";
}

/*    read_ini_file - Read and parse groups/keys/values from specified INI file
 *    Returns number of keys processed
 */
int read_ini_file (oinif)
  char* oinif;
{
  return 0;
}

/*    yvok - Value string of specified group/key
 *    Returns null string for group/key not defined or group/key
 *    defined without value (use is_defined_key() to differentiate)
 */
char* yvok (ogroup, okey)
     char* ogroup;
     char* okey;
{
  return "";
}