2007-08-25 21:31:10 +00:00
|
|
|
/*
|
|
|
|
*
|
2013-09-05 12:39:22 +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
|
|
|
}
|