EMILE/libconfig/config_get_indexed_property.c

21 lines
407 B
C
Raw Normal View History

2007-08-25 21:31:10 +00:00
/*
*
* (c) 2004-2007 Laurent Vivier <Laurent@Vivier.EU>
2007-08-25 21:31:10 +00:00
*
*/
#include <stdio.h>
#include <string.h>
#include "libconfig.h"
2007-09-08 23:09:14 +00:00
int config_get_indexed_property(int8_t *configuration, char *index_name, char *index_property, char *name, char *property)
2007-08-25 21:31:10 +00:00
{
2007-08-26 09:17:42 +00:00
int index ;
index = config_find_indexed_property(configuration,
index_name, index_property,
name, property);
2007-08-31 20:42:27 +00:00
return index;
2007-08-25 21:31:10 +00:00
}