5ebdd59
diff --git a/Makefile b/Makefile
5ebdd59
index db460eb..a4d4ce0 100644
5ebdd59
--- a/Makefile
5ebdd59
+++ b/Makefile
5ebdd59
@@ -32,6 +32,7 @@ user: ;
5ebdd59
 	$(MAKE) -C utils/fwparam_ibft
5ebdd59
 	$(MAKE) -C usr
5ebdd59
 	$(MAKE) -C utils
5ebdd59
+	$(MAKE) -C libiscsi
5ebdd59
 	@echo
5ebdd59
 	@echo "Compilation complete                 Output file"
5ebdd59
 	@echo "-----------------------------------  ----------------"
5ebdd59
@@ -53,6 +54,7 @@ kernel: force
5ebdd59
 force: ;
5ebdd59
 
5ebdd59
 clean:
5ebdd59
+	$(MAKE) -C libiscsi clean
5ebdd59
 	$(MAKE) -C utils/sysdeps clean
5ebdd59
 	$(MAKE) -C utils/fwparam_ibft clean
5ebdd59
 	$(MAKE) -C utils clean
5ebdd59
diff --git a/libiscsi/Makefile b/libiscsi/Makefile
5ebdd59
new file mode 100644
5ebdd59
index 0000000..4aeb44f
5ebdd59
--- /dev/null
5ebdd59
+++ b/libiscsi/Makefile
5ebdd59
@@ -0,0 +1,62 @@
5ebdd59
+# This Makefile will work only with GNU make.
5ebdd59
+
5ebdd59
+OSNAME=$(shell uname -s)
5ebdd59
+OPTFLAGS ?= -O2 -g
5ebdd59
+WARNFLAGS ?= -Wall -Wstrict-prototypes
5ebdd59
+CFLAGS = $(OPTFLAGS) $(WARNFLAGS) -I../include -I../usr -I../utils/open-isns \
5ebdd59
+		-D$(OSNAME) -fPIC -D_GNU_SOURCE -fvisibility=hidden
5ebdd59
+LIB = libiscsi.so.0
5ebdd59
+TESTS = tests/test_discovery_sendtargets tests/test_discovery_firmware
5ebdd59
+TESTS += tests/test_login tests/test_logout tests/test_params
5ebdd59
+TESTS += tests/test_get_network_config tests/test_get_initiator_name
5ebdd59
+TESTS += tests/test_set_auth tests/test_get_auth
5ebdd59
+
5ebdd59
+COMMON_SRCS = sysdeps.o
5ebdd59
+# sources shared between iscsid, iscsiadm and iscsistart
5ebdd59
+ISCSI_LIB_SRCS = session_info.o iscsi_util.o io.o auth.o discovery.o login.o log.o md5.o sha1.o iface.o idbm.o sysfs.o iscsi_sysfs.o iscsi_net_util.o iscsid_req.o
5ebdd59
+FW_PARAM_SRCS = fw_entry.o prom_lex.o prom_parse.tab.o fwparam_ppc.o fwparam_sysfs.o
5ebdd59
+
5ebdd59
+# sources shared with the userspace utils, note we build these separately
5ebdd59
+# to get PIC versions.
5ebdd59
+COMMON_OBJS = $(patsubst %.o, common-objs/%.o, $(COMMON_SRCS))
5ebdd59
+USR_OBJS = $(patsubst %.o, usr-objs/%.o, $(ISCSI_LIB_SRCS) strings.o)
5ebdd59
+FW_OBJS = $(patsubst %.o, fw-objs/%.o, $(FW_PARAM_SRCS))
5ebdd59
+
5ebdd59
+# Flags for the tests
5ebdd59
+tests/% : CFLAGS = $(OPTFLAGS) $(WARNFLAGS) -I.
5ebdd59
+
5ebdd59
+all: lib tests html
5ebdd59
+
5ebdd59
+lib: $(LIB)
5ebdd59
+tests: $(TESTS)
5ebdd59
+
5ebdd59
+common-objs/%.o: ../utils/sysdeps/%.c
5ebdd59
+	mkdir -p common-objs
5ebdd59
+	$(CC) $(CFLAGS) -c $< -o $@
5ebdd59
+
5ebdd59
+usr-objs/%.o: ../usr/%.c
5ebdd59
+	mkdir -p usr-objs
5ebdd59
+	$(CC) $(CFLAGS) -c $< -o $@
5ebdd59
+
5ebdd59
+fw-objs/%.o: ../utils/fwparam_ibft/%.c
5ebdd59
+	mkdir -p fw-objs
5ebdd59
+	$(CC) $(CFLAGS) -c $< -o $@
5ebdd59
+
5ebdd59
+$(LIB): $(COMMON_OBJS) $(FW_OBJS) $(USR_OBJS) libiscsi.o
5ebdd59
+	$(CC) $(CFLAGS) -L../utils/open-isns -lisns -shared -Wl,-soname,$(LIB) $^ -o $@
5ebdd59
+	ln -s -f $(LIB) libiscsi.so
5ebdd59
+
5ebdd59
+$(TESTS): $(FW_OBJS) $(COMMON_OBJS) $(USR_OBJS) $(LIB)
5ebdd59
+	$(CC) $(CFLAGS) -L../utils/open-isns -lisns -c $< -o $@
5ebdd59
+
5ebdd59
+html: libiscsi.h libiscsi.doxy
5ebdd59
+	doxygen libiscsi.doxy
5ebdd59
+
5ebdd59
+clean:
5ebdd59
+	rm -rf *.o common-objs usr-objs fw-objs libuip-objs libiscsi.so* \
5ebdd59
+			.depend *~ html $(TESTS) tests/*~
5ebdd59
+
5ebdd59
+depend:
5ebdd59
+	gcc $(CFLAGS) -M `ls *.c` > .depend
5ebdd59
+
5ebdd59
+-include .depend ../usr/.depend
5ebdd59
diff --git a/libiscsi/libiscsi.c b/libiscsi/libiscsi.c
5ebdd59
new file mode 100644
5ebdd59
index 0000000..a9eb0a6
5ebdd59
--- /dev/null
5ebdd59
+++ b/libiscsi/libiscsi.c
5ebdd59
@@ -0,0 +1,563 @@
5ebdd59
+/*
5ebdd59
+ * iSCSI Administration library
5ebdd59
+ *
5ebdd59
+ * Copyright (C) 2008-2009 Red Hat, Inc. All rights reserved.
5ebdd59
+ * Copyright (C) 2008-2009 Hans de Goede <hdegoede@redhat.com>
5ebdd59
+ * maintained by open-iscsi@googlegroups.com
5ebdd59
+ *
5ebdd59
+ * This program is free software; you can redistribute it and/or modify
5ebdd59
+ * it under the terms of the GNU General Public License as published
5ebdd59
+ * by the Free Software Foundation; either version 2 of the License, or
5ebdd59
+ * (at your option) any later version.
5ebdd59
+ *
5ebdd59
+ * This program is distributed in the hope that it will be useful, but
5ebdd59
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
5ebdd59
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
5ebdd59
+ * General Public License for more details.
5ebdd59
+ *
5ebdd59
+ * See the file COPYING included with this distribution for more details.
5ebdd59
+ */
5ebdd59
+
5ebdd59
+#include <stdio.h>
5ebdd59
+#include <stdlib.h>
5ebdd59
+#include <string.h>
5ebdd59
+#include <errno.h>
5ebdd59
+#include <unistd.h>
5ebdd59
+#include <sys/syslog.h>
5ebdd59
+#include "libiscsi.h"
5ebdd59
+#include "idbm.h"
5ebdd59
+#include "discovery.h"
5ebdd59
+#include "log.h"
5ebdd59
+#include "sysfs.h"
5ebdd59
+#include "iscsi_sysfs.h"
5ebdd59
+#include "session_info.h"
5ebdd59
+#include "iscsi_util.h"
5ebdd59
+#include "sysdeps.h"
5ebdd59
+#include "iface.h"
5ebdd59
+#include "iscsi_proto.h"
5ebdd59
+#include "fw_context.h"
5ebdd59
+#include "iscsid_req.h"
5ebdd59
+
5ebdd59
+#define CHECK(a) { context->error_str[0] = 0; rc = a; if (rc) goto leave; }
5ebdd59
+
5ebdd59
+struct libiscsi_context {
5ebdd59
+	char error_str[256];
5ebdd59
+	/* For get_parameter_helper() */
5ebdd59
+	const char *parameter;
5ebdd59
+	char *value;
5ebdd59
+};
5ebdd59
+
5ebdd59
+static void libiscsi_log(int prio, void *priv, const char *fmt, va_list ap)
5ebdd59
+{
5ebdd59
+	struct libiscsi_context *context = priv;
5ebdd59
+
5ebdd59
+	if (prio > LOG_ERR) /* We are only interested in errors (or worse) */
5ebdd59
+		return;
5ebdd59
+
5ebdd59
+	vsnprintf(context->error_str, sizeof(context->error_str), fmt, ap);
5ebdd59
+}
5ebdd59
+
5ebdd59
+struct libiscsi_context *libiscsi_init(void)
5ebdd59
+{
5ebdd59
+	struct libiscsi_context *context;
5ebdd59
+
5ebdd59
+	context = calloc(1, sizeof *context);
5ebdd59
+	if (!context)
5ebdd59
+		return NULL;
5ebdd59
+
5ebdd59
+	log_init("libiscsi", 1024, libiscsi_log, context);
5ebdd59
+	sysfs_init();
5ebdd59
+	increase_max_files();
5ebdd59
+	if (idbm_init(NULL)) {
5ebdd59
+		sysfs_cleanup();
5ebdd59
+		free(context);
5ebdd59
+		return NULL;
5ebdd59
+	}
5ebdd59
+
5ebdd59
+	iface_setup_host_bindings();
5ebdd59
+
5ebdd59
+	return context;
5ebdd59
+}
5ebdd59
+
5ebdd59
+void libiscsi_cleanup(struct libiscsi_context *context)
5ebdd59
+{
5ebdd59
+	idbm_terminate();
5ebdd59
+	free_transports();
5ebdd59
+	sysfs_cleanup();
5ebdd59
+	free(context);
5ebdd59
+}
5ebdd59
+
5ebdd59
+static void free_rec_list(struct list_head *rec_list)
5ebdd59
+{
5ebdd59
+	struct node_rec *rec, *tmp;
5ebdd59
+	
5ebdd59
+	list_for_each_entry_safe(rec, tmp, rec_list, list) {
5ebdd59
+		list_del(&rec->list);
5ebdd59
+		free(rec);
5ebdd59
+	}
5ebdd59
+}
5ebdd59
+
5ebdd59
+int libiscsi_discover_sendtargets(struct libiscsi_context *context,
5ebdd59
+	const char *address, int port,
5ebdd59
+	const struct libiscsi_auth_info *auth_info,
5ebdd59
+	int *nr_found, struct libiscsi_node **found_nodes)
5ebdd59
+{
5ebdd59
+	struct discovery_rec drec;
5ebdd59
+	LIST_HEAD(bound_rec_list);
5ebdd59
+	struct node_rec *rec;
5ebdd59
+	int rc = 0, found = 0;
5ebdd59
+
5ebdd59
+	INIT_LIST_HEAD(&bound_rec_list);
5ebdd59
+
5ebdd59
+	if (nr_found)
5ebdd59
+		*nr_found = 0;
5ebdd59
+	if (found_nodes)
5ebdd59
+		*found_nodes = NULL;
5ebdd59
+
5ebdd59
+	CHECK(libiscsi_verify_auth_info(context, auth_info))
5ebdd59
+
5ebdd59
+	/* Fill the drec struct with all needed info */
5ebdd59
+	memset(&drec, 0, sizeof drec);
5ebdd59
+	idbm_sendtargets_defaults(&drec.u.sendtargets);
5ebdd59
+	drec.type = DISCOVERY_TYPE_SENDTARGETS;
5ebdd59
+	strlcpy(drec.address, address, sizeof(drec.address));
5ebdd59
+	drec.port = port ? port : ISCSI_LISTEN_PORT;
5ebdd59
+	switch(auth_info ? auth_info->method : libiscsi_auth_none) {
5ebdd59
+	case libiscsi_auth_chap:
5ebdd59
+		drec.u.sendtargets.auth.authmethod = AUTH_METHOD_CHAP;
5ebdd59
+		strlcpy(drec.u.sendtargets.auth.username,
5ebdd59
+			auth_info->chap.username, AUTH_STR_MAX_LEN);
5ebdd59
+		strlcpy((char *)drec.u.sendtargets.auth.password,
5ebdd59
+			auth_info->chap.password, AUTH_STR_MAX_LEN);
5ebdd59
+		drec.u.sendtargets.auth.password_length =
5ebdd59
+			strlen((char *)drec.u.sendtargets.auth.password);
5ebdd59
+		strlcpy(drec.u.sendtargets.auth.username_in,
5ebdd59
+			auth_info->chap.reverse_username, AUTH_STR_MAX_LEN);
5ebdd59
+		strlcpy((char *)drec.u.sendtargets.auth.password_in,
5ebdd59
+			auth_info->chap.reverse_password, AUTH_STR_MAX_LEN);
5ebdd59
+		drec.u.sendtargets.auth.password_in_length =
5ebdd59
+			strlen((char *)drec.u.sendtargets.auth.password_in);
5ebdd59
+		break;
5ebdd59
+	}
5ebdd59
+
5ebdd59
+	CHECK(idbm_add_discovery(&drec))
5ebdd59
+
5ebdd59
+	CHECK(idbm_bind_ifaces_to_nodes(discovery_sendtargets,
5ebdd59
+					&drec, NULL, &bound_rec_list))
5ebdd59
+
5ebdd59
+	/* now add/update records */
5ebdd59
+	list_for_each_entry(rec, &bound_rec_list, list) {
5ebdd59
+		CHECK(idbm_add_node(rec, &drec, 1 /* overwrite */))
5ebdd59
+		found++;
5ebdd59
+	}
5ebdd59
+
5ebdd59
+	if (nr_found)
5ebdd59
+		*nr_found = found;
5ebdd59
+
5ebdd59
+	if (found_nodes && found) {
5ebdd59
+		*found_nodes = calloc(found, sizeof **found_nodes);
5ebdd59
+		if (*found_nodes == NULL) {
5ebdd59
+			snprintf(context->error_str,
5ebdd59
+				 sizeof(context->error_str), strerror(ENOMEM));
5ebdd59
+			rc = ENOMEM;
5ebdd59
+			goto leave;
5ebdd59
+		}
5ebdd59
+		found = 0;
5ebdd59
+		list_for_each_entry(rec, &bound_rec_list, list) {
5ebdd59
+			strlcpy((*found_nodes)[found].name, rec->name,
5ebdd59
+				 LIBISCSI_VALUE_MAXLEN);
5ebdd59
+			(*found_nodes)[found].tpgt = rec->tpgt;
5ebdd59
+			strlcpy((*found_nodes)[found].address,
5ebdd59
+				 rec->conn[0].address, NI_MAXHOST);
5ebdd59
+			(*found_nodes)[found].port = rec->conn[0].port;
5ebdd59
+			found++;
5ebdd59
+		}
5ebdd59
+	}
5ebdd59
+
5ebdd59
+leave:
5ebdd59
+	free_rec_list(&bound_rec_list);
5ebdd59
+	return rc;
5ebdd59
+}
5ebdd59
+
5ebdd59
+int libiscsi_discover_firmware(struct libiscsi_context *context,
5ebdd59
+	int *nr_found, struct libiscsi_node **found_nodes)
5ebdd59
+{
5ebdd59
+	struct boot_context fw_entry;
5ebdd59
+	struct node_rec rec;
5ebdd59
+	int rc = 0;
5ebdd59
+
5ebdd59
+	if (nr_found)
5ebdd59
+		*nr_found = 0;
5ebdd59
+	if (found_nodes)
5ebdd59
+		*found_nodes = NULL;
5ebdd59
+
5ebdd59
+	memset(&fw_entry, 0, sizeof fw_entry);
5ebdd59
+	rc = fw_get_entry(&fw_entry);
5ebdd59
+	if (rc) {
5ebdd59
+		strcpy(context->error_str, "Could not read fw values.");
5ebdd59
+		return rc;
5ebdd59
+	}
5ebdd59
+
5ebdd59
+	memset(&rec, 0, sizeof rec);
5ebdd59
+	idbm_node_setup_defaults(&rec);
5ebdd59
+
5ebdd59
+	strlcpy(rec.name, fw_entry.targetname, TARGET_NAME_MAXLEN);
5ebdd59
+	rec.tpgt = 1;
5ebdd59
+	strlcpy(rec.conn[0].address, fw_entry.target_ipaddr, NI_MAXHOST);
5ebdd59
+	rec.conn[0].port = fw_entry.target_port;
5ebdd59
+
5ebdd59
+	iface_setup_defaults(&rec.iface);
5ebdd59
+	strncpy(rec.iface.iname, fw_entry.initiatorname,
5ebdd59
+		sizeof(fw_entry.initiatorname));
5ebdd59
+	strncpy(rec.session.auth.username, fw_entry.chap_name,
5ebdd59
+		sizeof(fw_entry.chap_name));
5ebdd59
+	strncpy((char *)rec.session.auth.password, fw_entry.chap_password,
5ebdd59
+		sizeof(fw_entry.chap_password));
5ebdd59
+	strncpy(rec.session.auth.username_in, fw_entry.chap_name_in,
5ebdd59
+		sizeof(fw_entry.chap_name_in));
5ebdd59
+	strncpy((char *)rec.session.auth.password_in,
5ebdd59
+		fw_entry.chap_password_in,
5ebdd59
+		sizeof(fw_entry.chap_password_in));
5ebdd59
+	rec.session.auth.password_length =
5ebdd59
+				strlen((char *)fw_entry.chap_password);
5ebdd59
+	rec.session.auth.password_in_length =
5ebdd59
+				strlen((char *)fw_entry.chap_password_in);
5ebdd59
+
5ebdd59
+	CHECK(idbm_add_node(&rec, NULL, 1 /* overwrite */))
5ebdd59
+
5ebdd59
+	if (nr_found)
5ebdd59
+		*nr_found = 1;
5ebdd59
+
5ebdd59
+	if (found_nodes) {
5ebdd59
+		*found_nodes = calloc(1, sizeof **found_nodes);
5ebdd59
+		if (*found_nodes == NULL) {
5ebdd59
+			snprintf(context->error_str,
5ebdd59
+				 sizeof(context->error_str), strerror(ENOMEM));
5ebdd59
+			rc = ENOMEM;
5ebdd59
+			goto leave;
5ebdd59
+		}
5ebdd59
+		strlcpy((*found_nodes)[0].name, rec.name,
5ebdd59
+			 LIBISCSI_VALUE_MAXLEN);
5ebdd59
+		(*found_nodes)[0].tpgt = rec.tpgt;
5ebdd59
+		strlcpy((*found_nodes)[0].address,
5ebdd59
+			 rec.conn[0].address, NI_MAXHOST);
5ebdd59
+		(*found_nodes)[0].port = rec.conn[0].port;
5ebdd59
+	}
5ebdd59
+
5ebdd59
+leave:
5ebdd59
+	return rc;
5ebdd59
+}
5ebdd59
+
5ebdd59
+int libiscsi_verify_auth_info(struct libiscsi_context *context,
5ebdd59
+	const struct libiscsi_auth_info *auth_info)
5ebdd59
+{
5ebdd59
+	switch(auth_info ? auth_info->method : libiscsi_auth_none) {
5ebdd59
+	case libiscsi_auth_none:
5ebdd59
+		break;
5ebdd59
+	case libiscsi_auth_chap:
5ebdd59
+		if (!auth_info->chap.username[0]) {
5ebdd59
+			strcpy(context->error_str, "Empty username");
5ebdd59
+			return EINVAL;
5ebdd59
+		}
5ebdd59
+		if (!auth_info->chap.password[0]) {
5ebdd59
+			strcpy(context->error_str, "Empty password");
5ebdd59
+			return EINVAL;
5ebdd59
+		}
5ebdd59
+		if (auth_info->chap.reverse_username[0] &&
5ebdd59
+		    !auth_info->chap.reverse_password[0]) {
5ebdd59
+			strcpy(context->error_str, "Empty reverse password");
5ebdd59
+		    	return EINVAL;
5ebdd59
+		}
5ebdd59
+		break;
5ebdd59
+	default:
5ebdd59
+		sprintf(context->error_str,
5ebdd59
+			"Invalid authentication method: %d",
5ebdd59
+			(int)auth_info->method);
5ebdd59
+		return EINVAL;
5ebdd59
+	}
5ebdd59
+	return 0;
5ebdd59
+}
5ebdd59
+
5ebdd59
+int libiscsi_node_set_auth(struct libiscsi_context *context,
5ebdd59
+    const struct libiscsi_node *node,
5ebdd59
+    const struct libiscsi_auth_info *auth_info)
5ebdd59
+{
5ebdd59
+	int rc = 0;
5ebdd59
+
5ebdd59
+	CHECK(libiscsi_verify_auth_info(context, auth_info))
5ebdd59
+
5ebdd59
+	switch(auth_info ? auth_info->method : libiscsi_auth_none) {
5ebdd59
+	case libiscsi_auth_none:
5ebdd59
+		CHECK(libiscsi_node_set_parameter(context, node,
5ebdd59
+			"node.session.auth.authmethod", "None"))
5ebdd59
+		CHECK(libiscsi_node_set_parameter(context, node,
5ebdd59
+			"node.session.auth.username", ""))
5ebdd59
+		CHECK(libiscsi_node_set_parameter(context, node,
5ebdd59
+			"node.session.auth.password", ""))
5ebdd59
+		CHECK(libiscsi_node_set_parameter(context, node,
5ebdd59
+			"node.session.auth.username_in", ""))
5ebdd59
+		CHECK(libiscsi_node_set_parameter(context, node,
5ebdd59
+			"node.session.auth.password_in", ""))
5ebdd59
+		break;
5ebdd59
+
5ebdd59
+	case libiscsi_auth_chap:
5ebdd59
+		CHECK(libiscsi_node_set_parameter(context, node,
5ebdd59
+			"node.session.auth.authmethod", "CHAP"))
5ebdd59
+		CHECK(libiscsi_node_set_parameter(context, node,
5ebdd59
+			"node.session.auth.username",
5ebdd59
+			auth_info->chap.username))
5ebdd59
+		CHECK(libiscsi_node_set_parameter(context, node,
5ebdd59
+			"node.session.auth.password",
5ebdd59
+			auth_info->chap.password))
5ebdd59
+		CHECK(libiscsi_node_set_parameter(context, node,
5ebdd59
+			"node.session.auth.username_in",
5ebdd59
+			auth_info->chap.reverse_username))
5ebdd59
+		CHECK(libiscsi_node_set_parameter(context, node,
5ebdd59
+			"node.session.auth.password_in",
5ebdd59
+			auth_info->chap.reverse_password))
5ebdd59
+		break;
5ebdd59
+	}
5ebdd59
+leave:
5ebdd59
+	return rc;
5ebdd59
+}
5ebdd59
+
5ebdd59
+int libiscsi_node_get_auth(struct libiscsi_context *context,
5ebdd59
+    const struct libiscsi_node *node,
5ebdd59
+    struct libiscsi_auth_info *auth_info)
5ebdd59
+{
5ebdd59
+	int rc = 0;
5ebdd59
+	char value[LIBISCSI_VALUE_MAXLEN];
5ebdd59
+
5ebdd59
+	memset(auth_info, 0, sizeof *auth_info);
5ebdd59
+
5ebdd59
+	CHECK(libiscsi_node_get_parameter(context, node,
5ebdd59
+			"node.session.auth.authmethod", value))
5ebdd59
+
5ebdd59
+	if (!strcmp(value, "None")) {
5ebdd59
+		auth_info->method = libiscsi_auth_none;
5ebdd59
+	} else if (!strcmp(value, "CHAP")) {
5ebdd59
+		auth_info->method = libiscsi_auth_chap;
5ebdd59
+		CHECK(libiscsi_node_get_parameter(context, node,
5ebdd59
+			"node.session.auth.username",
5ebdd59
+			auth_info->chap.username))
5ebdd59
+		CHECK(libiscsi_node_get_parameter(context, node,
5ebdd59
+			"node.session.auth.password",
5ebdd59
+			auth_info->chap.password))
5ebdd59
+		CHECK(libiscsi_node_get_parameter(context, node,
5ebdd59
+			"node.session.auth.username_in",
5ebdd59
+			auth_info->chap.reverse_username))
5ebdd59
+		CHECK(libiscsi_node_get_parameter(context, node,
5ebdd59
+			"node.session.auth.password_in",
5ebdd59
+			auth_info->chap.reverse_password))
5ebdd59
+	} else {
5ebdd59
+		snprintf(context->error_str, sizeof(context->error_str),
5ebdd59
+			 "unknown authentication method: %s", value);
5ebdd59
+		rc = EINVAL;
5ebdd59
+	}
5ebdd59
+leave:
5ebdd59
+	return rc;
5ebdd59
+}
5ebdd59
+
5ebdd59
+static void node_to_rec(const struct libiscsi_node *node,
5ebdd59
+	struct node_rec *rec)
5ebdd59
+{
5ebdd59
+	memset(rec, 0, sizeof *rec);
5ebdd59
+	idbm_node_setup_defaults(rec);
5ebdd59
+	strlcpy(rec->name, node->name, TARGET_NAME_MAXLEN);
5ebdd59
+	rec->tpgt = node->tpgt;
5ebdd59
+	strlcpy(rec->conn[0].address, node->address, NI_MAXHOST);
5ebdd59
+	rec->conn[0].port = node->port;
5ebdd59
+}
5ebdd59
+
5ebdd59
+int login_helper(void *data, node_rec_t *rec)
5ebdd59
+{
5ebdd59
+	int rc = iscsid_req_by_rec(MGMT_IPC_SESSION_LOGIN, rec);
5ebdd59
+	if (rc) {
5ebdd59
+		iscsid_handle_error(rc);
5ebdd59
+		rc = ENOTCONN;
5ebdd59
+	}
5ebdd59
+	return rc;
5ebdd59
+}
5ebdd59
+
5ebdd59
+int libiscsi_node_login(struct libiscsi_context *context,
5ebdd59
+	const struct libiscsi_node *node)
5ebdd59
+{
5ebdd59
+	int nr_found = 0, rc;
5ebdd59
+
5ebdd59
+	CHECK(idbm_for_each_iface(&nr_found, NULL, login_helper,
5ebdd59
+		(char *)node->name, node->tpgt,
5ebdd59
+		(char *)node->address, node->port))
5ebdd59
+	if (nr_found == 0) {
5ebdd59
+		strcpy(context->error_str, "No such node");
5ebdd59
+		rc = ENODEV;
5ebdd59
+	}
5ebdd59
+leave:
5ebdd59
+	return rc;
5ebdd59
+}
5ebdd59
+
5ebdd59
+static int logout_helper(void *data, struct session_info *info)
5ebdd59
+{
5ebdd59
+	int rc;
5ebdd59
+	struct node_rec *rec = data;
5ebdd59
+
5ebdd59
+	if (!iscsi_match_session(rec, info))
5ebdd59
+		/* Tell iscsi_sysfs_for_each_session this session was not a
5ebdd59
+		   match so that it will not increase nr_found. */
5ebdd59
+		return -1;
5ebdd59
+
5ebdd59
+	rc = iscsid_req_by_sid(MGMT_IPC_SESSION_LOGOUT, info->sid);
5ebdd59
+	if (rc) {
5ebdd59
+		iscsid_handle_error(rc);
5ebdd59
+		rc = EIO;
5ebdd59
+	}
5ebdd59
+
5ebdd59
+	return rc;
5ebdd59
+}
5ebdd59
+
5ebdd59
+int libiscsi_node_logout(struct libiscsi_context *context,
5ebdd59
+	const struct libiscsi_node *node)
5ebdd59
+{
5ebdd59
+	int nr_found = 0, rc;
5ebdd59
+	struct node_rec rec;
5ebdd59
+
5ebdd59
+	node_to_rec(node, &rec);
5ebdd59
+	CHECK(iscsi_sysfs_for_each_session(&rec, &nr_found, logout_helper))
5ebdd59
+	if (nr_found == 0) {
5ebdd59
+		strcpy(context->error_str, "No matching session");
5ebdd59
+		rc = ENODEV;
5ebdd59
+	}
5ebdd59
+leave:
5ebdd59
+	return rc;
5ebdd59
+}
5ebdd59
+
5ebdd59
+int libiscsi_node_set_parameter(struct libiscsi_context *context,
5ebdd59
+	const struct libiscsi_node *node,
5ebdd59
+	const char *parameter, const char *value)
5ebdd59
+{
5ebdd59
+	int nr_found = 0, rc;
5ebdd59
+	struct db_set_param set_param = {
5ebdd59
+		.name = (char *)parameter,
5ebdd59
+		.value = (char *)value,
5ebdd59
+	};
5ebdd59
+
5ebdd59
+	CHECK(idbm_for_each_iface(&nr_found, &set_param, idbm_node_set_param,
5ebdd59
+		(char *)node->name, node->tpgt,
5ebdd59
+		(char *)node->address, node->port))
5ebdd59
+	if (nr_found == 0) {
5ebdd59
+		strcpy(context->error_str, "No such node");
5ebdd59
+		rc = ENODEV;
5ebdd59
+	}
5ebdd59
+leave:
5ebdd59
+	return rc;
5ebdd59
+}
5ebdd59
+
5ebdd59
+static int get_parameter_helper(void *data, node_rec_t *rec)
5ebdd59
+{
5ebdd59
+	struct libiscsi_context *context = data;
5ebdd59
+	recinfo_t *info;
5ebdd59
+	int i;
5ebdd59
+
5ebdd59
+	info = idbm_recinfo_alloc(MAX_KEYS);
5ebdd59
+	if (!info) {
5ebdd59
+		snprintf(context->error_str, sizeof(context->error_str),
5ebdd59
+			 strerror(ENOMEM));
5ebdd59
+		return ENOMEM;
5ebdd59
+	}
5ebdd59
+
5ebdd59
+	idbm_recinfo_node(rec, info);
5ebdd59
+
5ebdd59
+	for (i = 0; i < MAX_KEYS; i++) {
5ebdd59
+		if (!info[i].visible)
5ebdd59
+			continue;
5ebdd59
+
5ebdd59
+		if (strcmp(context->parameter, info[i].name))
5ebdd59
+			continue;
5ebdd59
+
5ebdd59
+		strlcpy(context->value, info[i].value, LIBISCSI_VALUE_MAXLEN);
5ebdd59
+		break;
5ebdd59
+	}
5ebdd59
+
5ebdd59
+	free(info);
5ebdd59
+
5ebdd59
+	if (i == MAX_KEYS) {
5ebdd59
+		strcpy(context->error_str, "No such parameter");
5ebdd59
+		return EINVAL;
5ebdd59
+	}
5ebdd59
+
5ebdd59
+	return 0;
5ebdd59
+}
5ebdd59
+
5ebdd59
+int libiscsi_node_get_parameter(struct libiscsi_context *context,
5ebdd59
+	const struct libiscsi_node *node, const char *parameter, char *value)
5ebdd59
+{
5ebdd59
+	int nr_found = 0, rc = 0;
5ebdd59
+
5ebdd59
+	context->parameter = parameter;
5ebdd59
+	context->value = value;
5ebdd59
+
5ebdd59
+	/* Note we assume there is only one interface, if not we will get
5ebdd59
+	   the value from the last interface iterated over!
5ebdd59
+	   This (multiple interfaces) can only happen if someone explicitly
5ebdd59
+	   created ones using iscsiadm. Even then this should not be a problem
5ebdd59
+	   as most settings should be the same independent of the iface. */
5ebdd59
+	CHECK(idbm_for_each_iface(&nr_found, context, get_parameter_helper,
5ebdd59
+		(char *)node->name, node->tpgt,
5ebdd59
+		(char *)node->address, node->port))
5ebdd59
+	if (nr_found == 0) {
5ebdd59
+		strcpy(context->error_str, "No such node");
5ebdd59
+		rc = ENODEV;
5ebdd59
+	}
5ebdd59
+leave:
5ebdd59
+	return rc;
5ebdd59
+}
5ebdd59
+
5ebdd59
+const char *libiscsi_get_error_string(struct libiscsi_context *context)
5ebdd59
+{
5ebdd59
+	/* Sometimes the core open-iscsi code does not give us an error
5ebdd59
+	   message */
5ebdd59
+	if (!context->error_str[0])
5ebdd59
+		return "Unknown error";
5ebdd59
+
5ebdd59
+	return context->error_str;
5ebdd59
+}
5ebdd59
+
5ebdd59
+
5ebdd59
+/************************** Utility functions *******************************/
5ebdd59
+
5ebdd59
+int libiscsi_get_firmware_network_config(
5ebdd59
+    struct libiscsi_network_config *config)
5ebdd59
+{
5ebdd59
+	struct boot_context fw_entry;
5ebdd59
+
5ebdd59
+	memset(config, 0, sizeof *config);
5ebdd59
+	memset(&fw_entry, 0, sizeof fw_entry);
5ebdd59
+	if (fw_get_entry(&fw_entry))
5ebdd59
+		return ENODEV;
5ebdd59
+
5ebdd59
+	config->dhcp = strlen(fw_entry.dhcp) ? 1 : 0;
5ebdd59
+	strncpy(config->iface_name, fw_entry.iface, sizeof fw_entry.iface);
5ebdd59
+	strncpy(config->mac_address, fw_entry.mac, sizeof fw_entry.mac);
5ebdd59
+	strncpy(config->ip_address, fw_entry.ipaddr, sizeof fw_entry.ipaddr);
5ebdd59
+	strncpy(config->netmask, fw_entry.mask, sizeof fw_entry.mask);
5ebdd59
+	strncpy(config->gateway, fw_entry.gateway, sizeof fw_entry.gateway);
5ebdd59
+	strncpy(config->primary_dns, fw_entry.primary_dns,
5ebdd59
+		sizeof fw_entry.primary_dns);
5ebdd59
+	strncpy(config->secondary_dns, fw_entry.secondary_dns,
5ebdd59
+		sizeof fw_entry.secondary_dns);
5ebdd59
+	return 0;
5ebdd59
+}
5ebdd59
+
5ebdd59
+int libiscsi_get_firmware_initiator_name(char *initiatorname)
5ebdd59
+{
5ebdd59
+	struct boot_context fw_entry;
5ebdd59
+
5ebdd59
+	memset(initiatorname, 0, LIBISCSI_VALUE_MAXLEN);
5ebdd59
+	memset(&fw_entry, 0, sizeof fw_entry);
5ebdd59
+	if (fw_get_entry(&fw_entry))
5ebdd59
+		return ENODEV;
5ebdd59
+
5ebdd59
+	strncpy(initiatorname, fw_entry.initiatorname,
5ebdd59
+		sizeof fw_entry.initiatorname);
5ebdd59
+
5ebdd59
+	return 0;
5ebdd59
+}
5ebdd59
diff --git a/libiscsi/libiscsi.doxy b/libiscsi/libiscsi.doxy
5ebdd59
new file mode 100644
5ebdd59
index 0000000..663770f
5ebdd59
--- /dev/null
5ebdd59
+++ b/libiscsi/libiscsi.doxy
5ebdd59
@@ -0,0 +1,1473 @@
5ebdd59
+# Doxyfile 1.5.7.1
5ebdd59
+
5ebdd59
+# This file describes the settings to be used by the documentation system
5ebdd59
+# doxygen (www.doxygen.org) for a project
5ebdd59
+#
5ebdd59
+# All text after a hash (#) is considered a comment and will be ignored
5ebdd59
+# The format is:
5ebdd59
+#       TAG = value [value, ...]
5ebdd59
+# For lists items can also be appended using:
5ebdd59
+#       TAG += value [value, ...]
5ebdd59
+# Values that contain spaces should be placed between quotes (" ")
5ebdd59
+
5ebdd59
+#---------------------------------------------------------------------------
5ebdd59
+# Project related configuration options
5ebdd59
+#---------------------------------------------------------------------------
5ebdd59
+
5ebdd59
+# This tag specifies the encoding used for all characters in the config file 
5ebdd59
+# that follow. The default is UTF-8 which is also the encoding used for all 
5ebdd59
+# text before the first occurrence of this tag. Doxygen uses libiconv (or the 
5ebdd59
+# iconv built into libc) for the transcoding. See 
5ebdd59
+# http://www.gnu.org/software/libiconv for the list of possible encodings.
5ebdd59
+
5ebdd59
+DOXYFILE_ENCODING      = UTF-8
5ebdd59
+
5ebdd59
+# The PROJECT_NAME tag is a single word (or a sequence of words surrounded 
5ebdd59
+# by quotes) that should identify the project.
5ebdd59
+
5ebdd59
+PROJECT_NAME           = libiscsi
5ebdd59
+
5ebdd59
+# The PROJECT_NUMBER tag can be used to enter a project or revision number. 
5ebdd59
+# This could be handy for archiving the generated documentation or 
5ebdd59
+# if some version control system is used.
5ebdd59
+
5ebdd59
+PROJECT_NUMBER         = 
5ebdd59
+
5ebdd59
+# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) 
5ebdd59
+# base path where the generated documentation will be put. 
5ebdd59
+# If a relative path is entered, it will be relative to the location 
5ebdd59
+# where doxygen was started. If left blank the current directory will be used.
5ebdd59
+
5ebdd59
+OUTPUT_DIRECTORY       = 
5ebdd59
+
5ebdd59
+# If the CREATE_SUBDIRS tag is set to YES, then doxygen will create 
5ebdd59
+# 4096 sub-directories (in 2 levels) under the output directory of each output 
5ebdd59
+# format and will distribute the generated files over these directories. 
5ebdd59
+# Enabling this option can be useful when feeding doxygen a huge amount of 
5ebdd59
+# source files, where putting all generated files in the same directory would 
5ebdd59
+# otherwise cause performance problems for the file system.
5ebdd59
+
5ebdd59
+CREATE_SUBDIRS         = NO
5ebdd59
+
5ebdd59
+# The OUTPUT_LANGUAGE tag is used to specify the language in which all 
5ebdd59
+# documentation generated by doxygen is written. Doxygen will use this 
5ebdd59
+# information to generate all constant output in the proper language. 
5ebdd59
+# The default language is English, other supported languages are: 
5ebdd59
+# Afrikaans, Arabic, Brazilian, Catalan, Chinese, Chinese-Traditional, 
5ebdd59
+# Croatian, Czech, Danish, Dutch, Farsi, Finnish, French, German, Greek, 
5ebdd59
+# Hungarian, Italian, Japanese, Japanese-en (Japanese with English messages), 
5ebdd59
+# Korean, Korean-en, Lithuanian, Norwegian, Macedonian, Persian, Polish, 
5ebdd59
+# Portuguese, Romanian, Russian, Serbian, Serbian-Cyrilic, Slovak, Slovene, 
5ebdd59
+# Spanish, Swedish, and Ukrainian.
5ebdd59
+
5ebdd59
+OUTPUT_LANGUAGE        = English
5ebdd59
+
5ebdd59
+# If the BRIEF_MEMBER_DESC tag is set to YES (the default) Doxygen will 
5ebdd59
+# include brief member descriptions after the members that are listed in 
5ebdd59
+# the file and class documentation (similar to JavaDoc). 
5ebdd59
+# Set to NO to disable this.
5ebdd59
+
5ebdd59
+BRIEF_MEMBER_DESC      = YES
5ebdd59
+
5ebdd59
+# If the REPEAT_BRIEF tag is set to YES (the default) Doxygen will prepend 
5ebdd59
+# the brief description of a member or function before the detailed description. 
5ebdd59
+# Note: if both HIDE_UNDOC_MEMBERS and BRIEF_MEMBER_DESC are set to NO, the 
5ebdd59
+# brief descriptions will be completely suppressed.
5ebdd59
+
5ebdd59
+REPEAT_BRIEF           = NO
5ebdd59
+
5ebdd59
+# This tag implements a quasi-intelligent brief description abbreviator 
5ebdd59
+# that is used to form the text in various listings. Each string 
5ebdd59
+# in this list, if found as the leading text of the brief description, will be 
5ebdd59
+# stripped from the text and the result after processing the whole list, is 
5ebdd59
+# used as the annotated text. Otherwise, the brief description is used as-is. 
5ebdd59
+# If left blank, the following values are used ("$name" is automatically 
5ebdd59
+# replaced with the name of the entity): "The $name class" "The $name widget" 
5ebdd59
+# "The $name file" "is" "provides" "specifies" "contains" 
5ebdd59
+# "represents" "a" "an" "the"
5ebdd59
+
5ebdd59
+ABBREVIATE_BRIEF       = 
5ebdd59
+
5ebdd59
+# If the ALWAYS_DETAILED_SEC and REPEAT_BRIEF tags are both set to YES then 
5ebdd59
+# Doxygen will generate a detailed section even if there is only a brief 
5ebdd59
+# description.
5ebdd59
+
5ebdd59
+ALWAYS_DETAILED_SEC    = YES
5ebdd59
+
5ebdd59
+# If the INLINE_INHERITED_MEMB tag is set to YES, doxygen will show all 
5ebdd59
+# inherited members of a class in the documentation of that class as if those 
5ebdd59
+# members were ordinary class members. Constructors, destructors and assignment 
5ebdd59
+# operators of the base classes will not be shown.
5ebdd59
+
5ebdd59
+INLINE_INHERITED_MEMB  = NO
5ebdd59
+
5ebdd59
+# If the FULL_PATH_NAMES tag is set to YES then Doxygen will prepend the full 
5ebdd59
+# path before files name in the file list and in the header files. If set 
5ebdd59
+# to NO the shortest path that makes the file name unique will be used.
5ebdd59
+
5ebdd59
+FULL_PATH_NAMES        = YES
5ebdd59
+
5ebdd59
+# If the FULL_PATH_NAMES tag is set to YES then the STRIP_FROM_PATH tag 
5ebdd59
+# can be used to strip a user-defined part of the path. Stripping is 
5ebdd59
+# only done if one of the specified strings matches the left-hand part of 
5ebdd59
+# the path. The tag can be used to show relative paths in the file list. 
5ebdd59
+# If left blank the directory from which doxygen is run is used as the 
5ebdd59
+# path to strip.
5ebdd59
+
5ebdd59
+STRIP_FROM_PATH        = 
5ebdd59
+
5ebdd59
+# The STRIP_FROM_INC_PATH tag can be used to strip a user-defined part of 
5ebdd59
+# the path mentioned in the documentation of a class, which tells 
5ebdd59
+# the reader which header file to include in order to use a class. 
5ebdd59
+# If left blank only the name of the header file containing the class 
5ebdd59
+# definition is used. Otherwise one should specify the include paths that 
5ebdd59
+# are normally passed to the compiler using the -I flag.
5ebdd59
+
5ebdd59
+STRIP_FROM_INC_PATH    = 
5ebdd59
+
5ebdd59
+# If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter 
5ebdd59
+# (but less readable) file names. This can be useful is your file systems 
5ebdd59
+# doesn't support long names like on DOS, Mac, or CD-ROM.
5ebdd59
+
5ebdd59
+SHORT_NAMES            = NO
5ebdd59
+
5ebdd59
+# If the JAVADOC_AUTOBRIEF tag is set to YES then Doxygen 
5ebdd59
+# will interpret the first line (until the first dot) of a JavaDoc-style 
5ebdd59
+# comment as the brief description. If set to NO, the JavaDoc 
5ebdd59
+# comments will behave just like regular Qt-style comments 
5ebdd59
+# (thus requiring an explicit @brief command for a brief description.)
5ebdd59
+
5ebdd59
+JAVADOC_AUTOBRIEF      = NO
5ebdd59
+
5ebdd59
+# If the QT_AUTOBRIEF tag is set to YES then Doxygen will 
5ebdd59
+# interpret the first line (until the first dot) of a Qt-style 
5ebdd59
+# comment as the brief description. If set to NO, the comments 
5ebdd59
+# will behave just like regular Qt-style comments (thus requiring 
5ebdd59
+# an explicit \brief command for a brief description.)
5ebdd59
+
5ebdd59
+QT_AUTOBRIEF           = NO
5ebdd59
+
5ebdd59
+# The MULTILINE_CPP_IS_BRIEF tag can be set to YES to make Doxygen 
5ebdd59
+# treat a multi-line C++ special comment block (i.e. a block of //! or /// 
5ebdd59
+# comments) as a brief description. This used to be the default behaviour. 
5ebdd59
+# The new default is to treat a multi-line C++ comment block as a detailed 
5ebdd59
+# description. Set this tag to YES if you prefer the old behaviour instead.
5ebdd59
+
5ebdd59
+MULTILINE_CPP_IS_BRIEF = NO
5ebdd59
+
5ebdd59
+# If the INHERIT_DOCS tag is set to YES (the default) then an undocumented 
5ebdd59
+# member inherits the documentation from any documented member that it 
5ebdd59
+# re-implements.
5ebdd59
+
5ebdd59
+INHERIT_DOCS           = YES
5ebdd59
+
5ebdd59
+# If the SEPARATE_MEMBER_PAGES tag is set to YES, then doxygen will produce 
5ebdd59
+# a new page for each member. If set to NO, the documentation of a member will 
5ebdd59
+# be part of the file/class/namespace that contains it.
5ebdd59
+
5ebdd59
+SEPARATE_MEMBER_PAGES  = NO
5ebdd59
+
5ebdd59
+# The TAB_SIZE tag can be used to set the number of spaces in a tab. 
5ebdd59
+# Doxygen uses this value to replace tabs by spaces in code fragments.
5ebdd59
+
5ebdd59
+TAB_SIZE               = 8
5ebdd59
+
5ebdd59
+# This tag can be used to specify a number of aliases that acts 
5ebdd59
+# as commands in the documentation. An alias has the form "name=value". 
5ebdd59
+# For example adding "sideeffect=\par Side Effects:\n" will allow you to 
5ebdd59
+# put the command \sideeffect (or @sideeffect) in the documentation, which 
5ebdd59
+# will result in a user-defined paragraph with heading "Side Effects:". 
5ebdd59
+# You can put \n's in the value part of an alias to insert newlines.
5ebdd59
+
5ebdd59
+ALIASES                = 
5ebdd59
+
5ebdd59
+# Set the OPTIMIZE_OUTPUT_FOR_C tag to YES if your project consists of C 
5ebdd59
+# sources only. Doxygen will then generate output that is more tailored for C. 
5ebdd59
+# For instance, some of the names that are used will be different. The list 
5ebdd59
+# of all members will be omitted, etc.
5ebdd59
+
5ebdd59
+OPTIMIZE_OUTPUT_FOR_C  = YES
5ebdd59
+
5ebdd59
+# Set the OPTIMIZE_OUTPUT_JAVA tag to YES if your project consists of Java 
5ebdd59
+# sources only. Doxygen will then generate output that is more tailored for 
5ebdd59
+# Java. For instance, namespaces will be presented as packages, qualified 
5ebdd59
+# scopes will look different, etc.
5ebdd59
+
5ebdd59
+OPTIMIZE_OUTPUT_JAVA   = NO
5ebdd59
+
5ebdd59
+# Set the OPTIMIZE_FOR_FORTRAN tag to YES if your project consists of Fortran 
5ebdd59
+# sources only. Doxygen will then generate output that is more tailored for 
5ebdd59
+# Fortran.
5ebdd59
+
5ebdd59
+OPTIMIZE_FOR_FORTRAN   = NO
5ebdd59
+
5ebdd59
+# Set the OPTIMIZE_OUTPUT_VHDL tag to YES if your project consists of VHDL 
5ebdd59
+# sources. Doxygen will then generate output that is tailored for 
5ebdd59
+# VHDL.
5ebdd59
+
5ebdd59
+OPTIMIZE_OUTPUT_VHDL   = NO
5ebdd59
+
5ebdd59
+# If you use STL classes (i.e. std::string, std::vector, etc.) but do not want 
5ebdd59
+# to include (a tag file for) the STL sources as input, then you should 
5ebdd59
+# set this tag to YES in order to let doxygen match functions declarations and 
5ebdd59
+# definitions whose arguments contain STL classes (e.g. func(std::string); v.s. 
5ebdd59
+# func(std::string) {}). This also make the inheritance and collaboration 
5ebdd59
+# diagrams that involve STL classes more complete and accurate.
5ebdd59
+
5ebdd59
+BUILTIN_STL_SUPPORT    = NO
5ebdd59
+
5ebdd59
+# If you use Microsoft's C++/CLI language, you should set this option to YES to
5ebdd59
+# enable parsing support.
5ebdd59
+
5ebdd59
+CPP_CLI_SUPPORT        = NO
5ebdd59
+
5ebdd59
+# Set the SIP_SUPPORT tag to YES if your project consists of sip sources only. 
5ebdd59
+# Doxygen will parse them like normal C++ but will assume all classes use public 
5ebdd59
+# instead of private inheritance when no explicit protection keyword is present.
5ebdd59
+
5ebdd59
+SIP_SUPPORT            = NO
5ebdd59
+
5ebdd59
+# For Microsoft's IDL there are propget and propput attributes to indicate getter 
5ebdd59
+# and setter methods for a property. Setting this option to YES (the default) 
5ebdd59
+# will make doxygen to replace the get and set methods by a property in the 
5ebdd59
+# documentation. This will only work if the methods are indeed getting or 
5ebdd59
+# setting a simple type. If this is not the case, or you want to show the 
5ebdd59
+# methods anyway, you should set this option to NO.
5ebdd59
+
5ebdd59
+IDL_PROPERTY_SUPPORT   = YES
5ebdd59
+
5ebdd59
+# If member grouping is used in the documentation and the DISTRIBUTE_GROUP_DOC 
5ebdd59
+# tag is set to YES, then doxygen will reuse the documentation of the first 
5ebdd59
+# member in the group (if any) for the other members of the group. By default 
5ebdd59
+# all members of a group must be documented explicitly.
5ebdd59
+
5ebdd59
+DISTRIBUTE_GROUP_DOC   = NO
5ebdd59
+
5ebdd59
+# Set the SUBGROUPING tag to YES (the default) to allow class member groups of 
5ebdd59
+# the same type (for instance a group of public functions) to be put as a 
5ebdd59
+# subgroup of that type (e.g. under the Public Functions section). Set it to 
5ebdd59
+# NO to prevent subgrouping. Alternatively, this can be done per class using 
5ebdd59
+# the \nosubgrouping command.
5ebdd59
+
5ebdd59
+SUBGROUPING            = YES
5ebdd59
+
5ebdd59
+# When TYPEDEF_HIDES_STRUCT is enabled, a typedef of a struct, union, or enum 
5ebdd59
+# is documented as struct, union, or enum with the name of the typedef. So 
5ebdd59
+# typedef struct TypeS {} TypeT, will appear in the documentation as a struct 
5ebdd59
+# with name TypeT. When disabled the typedef will appear as a member of a file, 
5ebdd59
+# namespace, or class. And the struct will be named TypeS. This can typically 
5ebdd59
+# be useful for C code in case the coding convention dictates that all compound 
5ebdd59
+# types are typedef'ed and only the typedef is referenced, never the tag name.
5ebdd59
+
5ebdd59
+TYPEDEF_HIDES_STRUCT   = NO
5ebdd59
+
5ebdd59
+# The SYMBOL_CACHE_SIZE determines the size of the internal cache use to 
5ebdd59
+# determine which symbols to keep in memory and which to flush to disk.
5ebdd59
+# When the cache is full, less often used symbols will be written to disk.
5ebdd59
+# For small to medium size projects (<1000 input files) the default value is 
5ebdd59
+# probably good enough. For larger projects a too small cache size can cause 
5ebdd59
+# doxygen to be busy swapping symbols to and from disk most of the time 
5ebdd59
+# causing a significant performance penality. 
5ebdd59
+# If the system has enough physical memory increasing the cache will improve the 
5ebdd59
+# performance by keeping more symbols in memory. Note that the value works on 
5ebdd59
+# a logarithmic scale so increasing the size by one will rougly double the 
5ebdd59
+# memory usage. The cache size is given by this formula: 
5ebdd59
+# 2^(16+SYMBOL_CACHE_SIZE). The valid range is 0..9, the default is 0, 
5ebdd59
+# corresponding to a cache size of 2^16 = 65536 symbols
5ebdd59
+
5ebdd59
+SYMBOL_CACHE_SIZE      = 0
5ebdd59
+
5ebdd59
+#---------------------------------------------------------------------------
5ebdd59
+# Build related configuration options
5ebdd59
+#---------------------------------------------------------------------------
5ebdd59
+
5ebdd59
+# If the EXTRACT_ALL tag is set to YES doxygen will assume all entities in 
5ebdd59
+# documentation are documented, even if no documentation was available. 
5ebdd59
+# Private class members and static file members will be hidden unless 
5ebdd59
+# the EXTRACT_PRIVATE and EXTRACT_STATIC tags are set to YES
5ebdd59
+
5ebdd59
+EXTRACT_ALL            = YES
5ebdd59
+
5ebdd59
+# If the EXTRACT_PRIVATE tag is set to YES all private members of a class 
5ebdd59
+# will be included in the documentation.
5ebdd59
+
5ebdd59
+EXTRACT_PRIVATE        = NO
5ebdd59
+
5ebdd59
+# If the EXTRACT_STATIC tag is set to YES all static members of a file 
5ebdd59
+# will be included in the documentation.
5ebdd59
+
5ebdd59
+EXTRACT_STATIC         = NO
5ebdd59
+
5ebdd59
+# If the EXTRACT_LOCAL_CLASSES tag is set to YES classes (and structs) 
5ebdd59
+# defined locally in source files will be included in the documentation. 
5ebdd59
+# If set to NO only classes defined in header files are included.
5ebdd59
+
5ebdd59
+EXTRACT_LOCAL_CLASSES  = YES
5ebdd59
+
5ebdd59
+# This flag is only useful for Objective-C code. When set to YES local 
5ebdd59
+# methods, which are defined in the implementation section but not in 
5ebdd59
+# the interface are included in the documentation. 
5ebdd59
+# If set to NO (the default) only methods in the interface are included.
5ebdd59
+
5ebdd59
+EXTRACT_LOCAL_METHODS  = NO
5ebdd59
+
5ebdd59
+# If this flag is set to YES, the members of anonymous namespaces will be 
5ebdd59
+# extracted and appear in the documentation as a namespace called 
5ebdd59
+# 'anonymous_namespace{file}', where file will be replaced with the base 
5ebdd59
+# name of the file that contains the anonymous namespace. By default 
5ebdd59
+# anonymous namespace are hidden.
5ebdd59
+
5ebdd59
+EXTRACT_ANON_NSPACES   = NO
5ebdd59
+
5ebdd59
+# If the HIDE_UNDOC_MEMBERS tag is set to YES, Doxygen will hide all 
5ebdd59
+# undocumented members of documented classes, files or namespaces. 
5ebdd59
+# If set to NO (the default) these members will be included in the 
5ebdd59
+# various overviews, but no documentation section is generated. 
5ebdd59
+# This option has no effect if EXTRACT_ALL is enabled.
5ebdd59
+
5ebdd59
+HIDE_UNDOC_MEMBERS     = NO
5ebdd59
+
5ebdd59
+# If the HIDE_UNDOC_CLASSES tag is set to YES, Doxygen will hide all 
5ebdd59
+# undocumented classes that are normally visible in the class hierarchy. 
5ebdd59
+# If set to NO (the default) these classes will be included in the various 
5ebdd59
+# overviews. This option has no effect if EXTRACT_ALL is enabled.
5ebdd59
+
5ebdd59
+HIDE_UNDOC_CLASSES     = NO
5ebdd59
+
5ebdd59
+# If the HIDE_FRIEND_COMPOUNDS tag is set to YES, Doxygen will hide all 
5ebdd59
+# friend (class|struct|union) declarations. 
5ebdd59
+# If set to NO (the default) these declarations will be included in the 
5ebdd59
+# documentation.
5ebdd59
+
5ebdd59
+HIDE_FRIEND_COMPOUNDS  = NO
5ebdd59
+
5ebdd59
+# If the HIDE_IN_BODY_DOCS tag is set to YES, Doxygen will hide any 
5ebdd59
+# documentation blocks found inside the body of a function. 
5ebdd59
+# If set to NO (the default) these blocks will be appended to the 
5ebdd59
+# function's detailed documentation block.
5ebdd59
+
5ebdd59
+HIDE_IN_BODY_DOCS      = NO
5ebdd59
+
5ebdd59
+# The INTERNAL_DOCS tag determines if documentation 
5ebdd59
+# that is typed after a \internal command is included. If the tag is set 
5ebdd59
+# to NO (the default) then the documentation will be excluded. 
5ebdd59
+# Set it to YES to include the internal documentation.
5ebdd59
+
5ebdd59
+INTERNAL_DOCS          = NO
5ebdd59
+
5ebdd59
+# If the CASE_SENSE_NAMES tag is set to NO then Doxygen will only generate 
5ebdd59
+# file names in lower-case letters. If set to YES upper-case letters are also 
5ebdd59
+# allowed. This is useful if you have classes or files whose names only differ 
5ebdd59
+# in case and if your file system supports case sensitive file names. Windows 
5ebdd59
+# and Mac users are advised to set this option to NO.
5ebdd59
+
5ebdd59
+CASE_SENSE_NAMES       = YES
5ebdd59
+
5ebdd59
+# If the HIDE_SCOPE_NAMES tag is set to NO (the default) then Doxygen 
5ebdd59
+# will show members with their full class and namespace scopes in the 
5ebdd59
+# documentation. If set to YES the scope will be hidden.
5ebdd59
+
5ebdd59
+HIDE_SCOPE_NAMES       = NO
5ebdd59
+
5ebdd59
+# If the SHOW_INCLUDE_FILES tag is set to YES (the default) then Doxygen 
5ebdd59
+# will put a list of the files that are included by a file in the documentation 
5ebdd59
+# of that file.
5ebdd59
+
5ebdd59
+SHOW_INCLUDE_FILES     = YES
5ebdd59
+
5ebdd59
+# If the INLINE_INFO tag is set to YES (the default) then a tag [inline] 
5ebdd59
+# is inserted in the documentation for inline members.
5ebdd59
+
5ebdd59
+INLINE_INFO            = YES
5ebdd59
+
5ebdd59
+# If the SORT_MEMBER_DOCS tag is set to YES (the default) then doxygen 
5ebdd59
+# will sort the (detailed) documentation of file and class members 
5ebdd59
+# alphabetically by member name. If set to NO the members will appear in 
5ebdd59
+# declaration order.
5ebdd59
+
5ebdd59
+SORT_MEMBER_DOCS       = YES
5ebdd59
+
5ebdd59
+# If the SORT_BRIEF_DOCS tag is set to YES then doxygen will sort the 
5ebdd59
+# brief documentation of file, namespace and class members alphabetically 
5ebdd59
+# by member name. If set to NO (the default) the members will appear in 
5ebdd59
+# declaration order.
5ebdd59
+
5ebdd59
+SORT_BRIEF_DOCS        = NO
5ebdd59
+
5ebdd59
+# If the SORT_GROUP_NAMES tag is set to YES then doxygen will sort the 
5ebdd59
+# hierarchy of group names into alphabetical order. If set to NO (the default) 
5ebdd59
+# the group names will appear in their defined order.
5ebdd59
+
5ebdd59
+SORT_GROUP_NAMES       = NO
5ebdd59
+
5ebdd59
+# If the SORT_BY_SCOPE_NAME tag is set to YES, the class list will be 
5ebdd59
+# sorted by fully-qualified names, including namespaces. If set to 
5ebdd59
+# NO (the default), the class list will be sorted only by class name, 
5ebdd59
+# not including the namespace part. 
5ebdd59
+# Note: This option is not very useful if HIDE_SCOPE_NAMES is set to YES.
5ebdd59
+# Note: This option applies only to the class list, not to the 
5ebdd59
+# alphabetical list.
5ebdd59
+
5ebdd59
+SORT_BY_SCOPE_NAME     = NO
5ebdd59
+
5ebdd59
+# The GENERATE_TODOLIST tag can be used to enable (YES) or 
5ebdd59
+# disable (NO) the todo list. This list is created by putting \todo 
5ebdd59
+# commands in the documentation.
5ebdd59
+
5ebdd59
+GENERATE_TODOLIST      = YES
5ebdd59
+
5ebdd59
+# The GENERATE_TESTLIST tag can be used to enable (YES) or 
5ebdd59
+# disable (NO) the test list. This list is created by putting \test 
5ebdd59
+# commands in the documentation.
5ebdd59
+
5ebdd59
+GENERATE_TESTLIST      = YES
5ebdd59
+
5ebdd59
+# The GENERATE_BUGLIST tag can be used to enable (YES) or 
5ebdd59
+# disable (NO) the bug list. This list is created by putting \bug 
5ebdd59
+# commands in the documentation.
5ebdd59
+
5ebdd59
+GENERATE_BUGLIST       = YES
5ebdd59
+
5ebdd59
+# The GENERATE_DEPRECATEDLIST tag can be used to enable (YES) or 
5ebdd59
+# disable (NO) the deprecated list. This list is created by putting 
5ebdd59
+# \deprecated commands in the documentation.
5ebdd59
+
5ebdd59
+GENERATE_DEPRECATEDLIST= YES
5ebdd59
+
5ebdd59
+# The ENABLED_SECTIONS tag can be used to enable conditional 
5ebdd59
+# documentation sections, marked by \if sectionname ... \endif.
5ebdd59
+
5ebdd59
+ENABLED_SECTIONS       = 
5ebdd59
+
5ebdd59
+# The MAX_INITIALIZER_LINES tag determines the maximum number of lines 
5ebdd59
+# the initial value of a variable or define consists of for it to appear in 
5ebdd59
+# the documentation. If the initializer consists of more lines than specified 
5ebdd59
+# here it will be hidden. Use a value of 0 to hide initializers completely. 
5ebdd59
+# The appearance of the initializer of individual variables and defines in the 
5ebdd59
+# documentation can be controlled using \showinitializer or \hideinitializer 
5ebdd59
+# command in the documentation regardless of this setting.
5ebdd59
+
5ebdd59
+MAX_INITIALIZER_LINES  = 30
5ebdd59
+
5ebdd59
+# Set the SHOW_USED_FILES tag to NO to disable the list of files generated 
5ebdd59
+# at the bottom of the documentation of classes and structs. If set to YES the 
5ebdd59
+# list will mention the files that were used to generate the documentation.
5ebdd59
+
5ebdd59
+SHOW_USED_FILES        = YES
5ebdd59
+
5ebdd59
+# If the sources in your project are distributed over multiple directories 
5ebdd59
+# then setting the SHOW_DIRECTORIES tag to YES will show the directory hierarchy 
5ebdd59
+# in the documentation. The default is NO.
5ebdd59
+
5ebdd59
+SHOW_DIRECTORIES       = NO
5ebdd59
+
5ebdd59
+# Set the SHOW_FILES tag to NO to disable the generation of the Files page.
5ebdd59
+# This will remove the Files entry from the Quick Index and from the 
5ebdd59
+# Folder Tree View (if specified). The default is YES.
5ebdd59
+
5ebdd59
+SHOW_FILES             = YES
5ebdd59
+
5ebdd59
+# Set the SHOW_NAMESPACES tag to NO to disable the generation of the 
5ebdd59
+# Namespaces page.  This will remove the Namespaces entry from the Quick Index
5ebdd59
+# and from the Folder Tree View (if specified). The default is YES.
5ebdd59
+
5ebdd59
+SHOW_NAMESPACES        = YES
5ebdd59
+
5ebdd59
+# The FILE_VERSION_FILTER tag can be used to specify a program or script that 
5ebdd59
+# doxygen should invoke to get the current version for each file (typically from 
5ebdd59
+# the version control system). Doxygen will invoke the program by executing (via 
5ebdd59
+# popen()) the command <command> <input-file>, where <command> is the value of 
5ebdd59
+# the FILE_VERSION_FILTER tag, and <input-file> is the name of an input file 
5ebdd59
+# provided by doxygen. Whatever the program writes to standard output 
5ebdd59
+# is used as the file version. See the manual for examples.
5ebdd59
+
5ebdd59
+FILE_VERSION_FILTER    = 
5ebdd59
+
5ebdd59
+# The LAYOUT_FILE tag can be used to specify a layout file which will be parsed by 
5ebdd59
+# doxygen. The layout file controls the global structure of the generated output files 
5ebdd59
+# in an output format independent way. The create the layout file that represents 
5ebdd59
+# doxygen's defaults, run doxygen with the -l option. You can optionally specify a 
5ebdd59
+# file name after the option, if omitted DoxygenLayout.xml will be used as the name 
5ebdd59
+# of the layout file.
5ebdd59
+
5ebdd59
+LAYOUT_FILE            = 
5ebdd59
+
5ebdd59
+#---------------------------------------------------------------------------
5ebdd59
+# configuration options related to warning and progress messages
5ebdd59
+#---------------------------------------------------------------------------
5ebdd59
+
5ebdd59
+# The QUIET tag can be used to turn on/off the messages that are generated 
5ebdd59
+# by doxygen. Possible values are YES and NO. If left blank NO is used.
5ebdd59
+
5ebdd59
+QUIET                  = YES
5ebdd59
+
5ebdd59
+# The WARNINGS tag can be used to turn on/off the warning messages that are 
5ebdd59
+# generated by doxygen. Possible values are YES and NO. If left blank 
5ebdd59
+# NO is used.
5ebdd59
+
5ebdd59
+WARNINGS               = YES
5ebdd59
+
5ebdd59
+# If WARN_IF_UNDOCUMENTED is set to YES, then doxygen will generate warnings 
5ebdd59
+# for undocumented members. If EXTRACT_ALL is set to YES then this flag will 
5ebdd59
+# automatically be disabled.
5ebdd59
+
5ebdd59
+WARN_IF_UNDOCUMENTED   = YES
5ebdd59
+
5ebdd59
+# If WARN_IF_DOC_ERROR is set to YES, doxygen will generate warnings for 
5ebdd59
+# potential errors in the documentation, such as not documenting some 
5ebdd59
+# parameters in a documented function, or documenting parameters that 
5ebdd59
+# don't exist or using markup commands wrongly.
5ebdd59
+
5ebdd59
+WARN_IF_DOC_ERROR      = YES
5ebdd59
+
5ebdd59
+# This WARN_NO_PARAMDOC option can be abled to get warnings for 
5ebdd59
+# functions that are documented, but have no documentation for their parameters 
5ebdd59
+# or return value. If set to NO (the default) doxygen will only warn about 
5ebdd59
+# wrong or incomplete parameter documentation, but not about the absence of 
5ebdd59
+# documentation.
5ebdd59
+
5ebdd59
+WARN_NO_PARAMDOC       = NO
5ebdd59
+
5ebdd59
+# The WARN_FORMAT tag determines the format of the warning messages that 
5ebdd59
+# doxygen can produce. The string should contain the $file, $line, and $text 
5ebdd59
+# tags, which will be replaced by the file and line number from which the 
5ebdd59
+# warning originated and the warning text. Optionally the format may contain 
5ebdd59
+# $version, which will be replaced by the version of the file (if it could 
5ebdd59
+# be obtained via FILE_VERSION_FILTER)
5ebdd59
+
5ebdd59
+WARN_FORMAT            = "$file:$line: $text"
5ebdd59
+
5ebdd59
+# The WARN_LOGFILE tag can be used to specify a file to which warning 
5ebdd59
+# and error messages should be written. If left blank the output is written 
5ebdd59
+# to stderr.
5ebdd59
+
5ebdd59
+WARN_LOGFILE           = 
5ebdd59
+
5ebdd59
+#---------------------------------------------------------------------------
5ebdd59
+# configuration options related to the input files
5ebdd59
+#---------------------------------------------------------------------------
5ebdd59
+
5ebdd59
+# The INPUT tag can be used to specify the files and/or directories that contain 
5ebdd59
+# documented source files. You may enter file names like "myfile.cpp" or 
5ebdd59
+# directories like "/usr/src/myproject". Separate the files or directories 
5ebdd59
+# with spaces.
5ebdd59
+
5ebdd59
+INPUT                  = 
5ebdd59
+
5ebdd59
+# This tag can be used to specify the character encoding of the source files 
5ebdd59
+# that doxygen parses. Internally doxygen uses the UTF-8 encoding, which is 
5ebdd59
+# also the default input encoding. Doxygen uses libiconv (or the iconv built 
5ebdd59
+# into libc) for the transcoding. See http://www.gnu.org/software/libiconv for 
5ebdd59
+# the list of possible encodings.
5ebdd59
+
5ebdd59
+INPUT_ENCODING         = UTF-8
5ebdd59
+
5ebdd59
+# If the value of the INPUT tag contains directories, you can use the 
5ebdd59
+# FILE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp 
5ebdd59
+# and *.h) to filter out the source-files in the directories. If left 
5ebdd59
+# blank the following patterns are tested: 
5ebdd59
+# *.c *.cc *.cxx *.cpp *.c++ *.java *.ii *.ixx *.ipp *.i++ *.inl *.h *.hh *.hxx 
5ebdd59
+# *.hpp *.h++ *.idl *.odl *.cs *.php *.php3 *.inc *.m *.mm *.py *.f90
5ebdd59
+
5ebdd59
+FILE_PATTERNS          = 
5ebdd59
+
5ebdd59
+# The RECURSIVE tag can be used to turn specify whether or not subdirectories 
5ebdd59
+# should be searched for input files as well. Possible values are YES and NO. 
5ebdd59
+# If left blank NO is used.
5ebdd59
+
5ebdd59
+RECURSIVE              = NO
5ebdd59
+
5ebdd59
+# The EXCLUDE tag can be used to specify files and/or directories that should 
5ebdd59
+# excluded from the INPUT source files. This way you can easily exclude a 
5ebdd59
+# subdirectory from a directory tree whose root is specified with the INPUT tag.
5ebdd59
+
5ebdd59
+EXCLUDE                = 
5ebdd59
+
5ebdd59
+# The EXCLUDE_SYMLINKS tag can be used select whether or not files or 
5ebdd59
+# directories that are symbolic links (a Unix filesystem feature) are excluded 
5ebdd59
+# from the input.
5ebdd59
+
5ebdd59
+EXCLUDE_SYMLINKS       = NO
5ebdd59
+
5ebdd59
+# If the value of the INPUT tag contains directories, you can use the 
5ebdd59
+# EXCLUDE_PATTERNS tag to specify one or more wildcard patterns to exclude 
5ebdd59
+# certain files from those directories. Note that the wildcards are matched 
5ebdd59
+# against the file with absolute path, so to exclude all test directories 
5ebdd59
+# for example use the pattern */test/*
5ebdd59
+
5ebdd59
+EXCLUDE_PATTERNS       = 
5ebdd59
+
5ebdd59
+# The EXCLUDE_SYMBOLS tag can be used to specify one or more symbol names 
5ebdd59
+# (namespaces, classes, functions, etc.) that should be excluded from the 
5ebdd59
+# output. The symbol name can be a fully qualified name, a word, or if the 
5ebdd59
+# wildcard * is used, a substring. Examples: ANamespace, AClass, 
5ebdd59
+# AClass::ANamespace, ANamespace::*Test
5ebdd59
+
5ebdd59
+EXCLUDE_SYMBOLS        = 
5ebdd59
+
5ebdd59
+# The EXAMPLE_PATH tag can be used to specify one or more files or 
5ebdd59
+# directories that contain example code fragments that are included (see 
5ebdd59
+# the \include command).
5ebdd59
+
5ebdd59
+EXAMPLE_PATH           = 
5ebdd59
+
5ebdd59
+# If the value of the EXAMPLE_PATH tag contains directories, you can use the 
5ebdd59
+# EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp 
5ebdd59
+# and *.h) to filter out the source-files in the directories. If left 
5ebdd59
+# blank all files are included.
5ebdd59
+
5ebdd59
+EXAMPLE_PATTERNS       = 
5ebdd59
+
5ebdd59
+# If the EXAMPLE_RECURSIVE tag is set to YES then subdirectories will be 
5ebdd59
+# searched for input files to be used with the \include or \dontinclude 
5ebdd59
+# commands irrespective of the value of the RECURSIVE tag. 
5ebdd59
+# Possible values are YES and NO. If left blank NO is used.
5ebdd59
+
5ebdd59
+EXAMPLE_RECURSIVE      = NO
5ebdd59
+
5ebdd59
+# The IMAGE_PATH tag can be used to specify one or more files or 
5ebdd59
+# directories that contain image that are included in the documentation (see 
5ebdd59
+# the \image command).
5ebdd59
+
5ebdd59
+IMAGE_PATH             = 
5ebdd59
+
5ebdd59
+# The INPUT_FILTER tag can be used to specify a program that doxygen should 
5ebdd59
+# invoke to filter for each input file. Doxygen will invoke the filter program 
5ebdd59
+# by executing (via popen()) the command <filter> <input-file>, where <filter> 
5ebdd59
+# is the value of the INPUT_FILTER tag, and <input-file> is the name of an 
5ebdd59
+# input file. Doxygen will then use the output that the filter program writes 
5ebdd59
+# to standard output.  If FILTER_PATTERNS is specified, this tag will be 
5ebdd59
+# ignored.
5ebdd59
+
5ebdd59
+INPUT_FILTER           = 
5ebdd59
+
5ebdd59
+# The FILTER_PATTERNS tag can be used to specify filters on a per file pattern 
5ebdd59
+# basis.  Doxygen will compare the file name with each pattern and apply the 
5ebdd59
+# filter if there is a match.  The filters are a list of the form: 
5ebdd59
+# pattern=filter (like *.cpp=my_cpp_filter). See INPUT_FILTER for further 
5ebdd59
+# info on how filters are used. If FILTER_PATTERNS is empty, INPUT_FILTER 
5ebdd59
+# is applied to all files.
5ebdd59
+
5ebdd59
+FILTER_PATTERNS        = 
5ebdd59
+
5ebdd59
+# If the FILTER_SOURCE_FILES tag is set to YES, the input filter (if set using 
5ebdd59
+# INPUT_FILTER) will be used to filter the input files when producing source 
5ebdd59
+# files to browse (i.e. when SOURCE_BROWSER is set to YES).
5ebdd59
+
5ebdd59
+FILTER_SOURCE_FILES    = NO
5ebdd59
+
5ebdd59
+#---------------------------------------------------------------------------
5ebdd59
+# configuration options related to source browsing
5ebdd59
+#---------------------------------------------------------------------------
5ebdd59
+
5ebdd59
+# If the SOURCE_BROWSER tag is set to YES then a list of source files will 
5ebdd59
+# be generated. Documented entities will be cross-referenced with these sources. 
5ebdd59
+# Note: To get rid of all source code in the generated output, make sure also 
5ebdd59
+# VERBATIM_HEADERS is set to NO.
5ebdd59
+
5ebdd59
+SOURCE_BROWSER         = NO
5ebdd59
+
5ebdd59
+# Setting the INLINE_SOURCES tag to YES will include the body 
5ebdd59
+# of functions and classes directly in the documentation.
5ebdd59
+
5ebdd59
+INLINE_SOURCES         = NO
5ebdd59
+
5ebdd59
+# Setting the STRIP_CODE_COMMENTS tag to YES (the default) will instruct 
5ebdd59
+# doxygen to hide any special comment blocks from generated source code 
5ebdd59
+# fragments. Normal C and C++ comments will always remain visible.
5ebdd59
+
5ebdd59
+STRIP_CODE_COMMENTS    = YES
5ebdd59
+
5ebdd59
+# If the REFERENCED_BY_RELATION tag is set to YES 
5ebdd59
+# then for each documented function all documented 
5ebdd59
+# functions referencing it will be listed.
5ebdd59
+
5ebdd59
+REFERENCED_BY_RELATION = NO
5ebdd59
+
5ebdd59
+# If the REFERENCES_RELATION tag is set to YES 
5ebdd59
+# then for each documented function all documented entities 
5ebdd59
+# called/used by that function will be listed.
5ebdd59
+
5ebdd59
+REFERENCES_RELATION    = NO
5ebdd59
+
5ebdd59
+# If the REFERENCES_LINK_SOURCE tag is set to YES (the default)
5ebdd59
+# and SOURCE_BROWSER tag is set to YES, then the hyperlinks from
5ebdd59
+# functions in REFERENCES_RELATION and REFERENCED_BY_RELATION lists will
5ebdd59
+# link to the source code.  Otherwise they will link to the documentstion.
5ebdd59
+
5ebdd59
+REFERENCES_LINK_SOURCE = YES
5ebdd59
+
5ebdd59
+# If the USE_HTAGS tag is set to YES then the references to source code 
5ebdd59
+# will point to the HTML generated by the htags(1) tool instead of doxygen 
5ebdd59
+# built-in source browser. The htags tool is part of GNU's global source 
5ebdd59
+# tagging system (see http://www.gnu.org/software/global/global.html). You 
5ebdd59
+# will need version 4.8.6 or higher.
5ebdd59
+
5ebdd59
+USE_HTAGS              = NO
5ebdd59
+
5ebdd59
+# If the VERBATIM_HEADERS tag is set to YES (the default) then Doxygen 
5ebdd59
+# will generate a verbatim copy of the header file for each class for 
5ebdd59
+# which an include is specified. Set to NO to disable this.
5ebdd59
+
5ebdd59
+VERBATIM_HEADERS       = YES
5ebdd59
+
5ebdd59
+#---------------------------------------------------------------------------
5ebdd59
+# configuration options related to the alphabetical class index
5ebdd59
+#---------------------------------------------------------------------------
5ebdd59
+
5ebdd59
+# If the ALPHABETICAL_INDEX tag is set to YES, an alphabetical index 
5ebdd59
+# of all compounds will be generated. Enable this if the project 
5ebdd59
+# contains a lot of classes, structs, unions or interfaces.
5ebdd59
+
5ebdd59
+ALPHABETICAL_INDEX     = NO
5ebdd59
+
5ebdd59
+# If the alphabetical index is enabled (see ALPHABETICAL_INDEX) then 
5ebdd59
+# the COLS_IN_ALPHA_INDEX tag can be used to specify the number of columns 
5ebdd59
+# in which this list will be split (can be a number in the range [1..20])
5ebdd59
+
5ebdd59
+COLS_IN_ALPHA_INDEX    = 5
5ebdd59
+
5ebdd59
+# In case all classes in a project start with a common prefix, all 
5ebdd59
+# classes will be put under the same header in the alphabetical index. 
5ebdd59
+# The IGNORE_PREFIX tag can be used to specify one or more prefixes that 
5ebdd59
+# should be ignored while generating the index headers.
5ebdd59
+
5ebdd59
+IGNORE_PREFIX          = 
5ebdd59
+
5ebdd59
+#---------------------------------------------------------------------------
5ebdd59
+# configuration options related to the HTML output
5ebdd59
+#---------------------------------------------------------------------------
5ebdd59
+
5ebdd59
+# If the GENERATE_HTML tag is set to YES (the default) Doxygen will 
5ebdd59
+# generate HTML output.
5ebdd59
+
5ebdd59
+GENERATE_HTML          = YES
5ebdd59
+
5ebdd59
+# The HTML_OUTPUT tag is used to specify where the HTML docs will be put. 
5ebdd59
+# If a relative path is entered the value of OUTPUT_DIRECTORY will be 
5ebdd59
+# put in front of it. If left blank `html' will be used as the default path.
5ebdd59
+
5ebdd59
+HTML_OUTPUT            = html
5ebdd59
+
5ebdd59
+# The HTML_FILE_EXTENSION tag can be used to specify the file extension for 
5ebdd59
+# each generated HTML page (for example: .htm,.php,.asp). If it is left blank 
5ebdd59
+# doxygen will generate files with .html extension.
5ebdd59
+
5ebdd59
+HTML_FILE_EXTENSION    = .html
5ebdd59
+
5ebdd59
+# The HTML_HEADER tag can be used to specify a personal HTML header for 
5ebdd59
+# each generated HTML page. If it is left blank doxygen will generate a 
5ebdd59
+# standard header.
5ebdd59
+
5ebdd59
+HTML_HEADER            = 
5ebdd59
+
5ebdd59
+# The HTML_FOOTER tag can be used to specify a personal HTML footer for 
5ebdd59
+# each generated HTML page. If it is left blank doxygen will generate a 
5ebdd59
+# standard footer.
5ebdd59
+
5ebdd59
+HTML_FOOTER            = 
5ebdd59
+
5ebdd59
+# The HTML_STYLESHEET tag can be used to specify a user-defined cascading 
5ebdd59
+# style sheet that is used by each HTML page. It can be used to 
5ebdd59
+# fine-tune the look of the HTML output. If the tag is left blank doxygen 
5ebdd59
+# will generate a default style sheet. Note that doxygen will try to copy 
5ebdd59
+# the style sheet file to the HTML output directory, so don't put your own 
5ebdd59
+# stylesheet in the HTML output directory as well, or it will be erased!
5ebdd59
+
5ebdd59
+HTML_STYLESHEET        = 
5ebdd59
+
5ebdd59
+# If the HTML_ALIGN_MEMBERS tag is set to YES, the members of classes, 
5ebdd59
+# files or namespaces will be aligned in HTML using tables. If set to 
5ebdd59
+# NO a bullet list will be used.
5ebdd59
+
5ebdd59
+HTML_ALIGN_MEMBERS     = YES
5ebdd59
+
5ebdd59
+# If the HTML_DYNAMIC_SECTIONS tag is set to YES then the generated HTML 
5ebdd59
+# documentation will contain sections that can be hidden and shown after the 
5ebdd59
+# page has loaded. For this to work a browser that supports 
5ebdd59
+# JavaScript and DHTML is required (for instance Mozilla 1.0+, Firefox 
5ebdd59
+# Netscape 6.0+, Internet explorer 5.0+, Konqueror, or Safari).
5ebdd59
+
5ebdd59
+HTML_DYNAMIC_SECTIONS  = NO
5ebdd59
+
5ebdd59
+# If the GENERATE_DOCSET tag is set to YES, additional index files 
5ebdd59
+# will be generated that can be used as input for Apple's Xcode 3 
5ebdd59
+# integrated development environment, introduced with OSX 10.5 (Leopard). 
5ebdd59
+# To create a documentation set, doxygen will generate a Makefile in the 
5ebdd59
+# HTML output directory. Running make will produce the docset in that 
5ebdd59
+# directory and running "make install" will install the docset in 
5ebdd59
+# ~/Library/Developer/Shared/Documentation/DocSets so that Xcode will find 
5ebdd59
+# it at startup. 
5ebdd59
+# See http://developer.apple.com/tools/creatingdocsetswithdoxygen.html for more information.
5ebdd59
+
5ebdd59
+GENERATE_DOCSET        = NO
5ebdd59
+
5ebdd59
+# When GENERATE_DOCSET tag is set to YES, this tag determines the name of the 
5ebdd59
+# feed. A documentation feed provides an umbrella under which multiple 
5ebdd59
+# documentation sets from a single provider (such as a company or product suite) 
5ebdd59
+# can be grouped.
5ebdd59
+
5ebdd59
+DOCSET_FEEDNAME        = "Doxygen generated docs"
5ebdd59
+
5ebdd59
+# When GENERATE_DOCSET tag is set to YES, this tag specifies a string that 
5ebdd59
+# should uniquely identify the documentation set bundle. This should be a 
5ebdd59
+# reverse domain-name style string, e.g. com.mycompany.MyDocSet. Doxygen 
5ebdd59
+# will append .docset to the name.
5ebdd59
+
5ebdd59
+DOCSET_BUNDLE_ID       = org.doxygen.Project
5ebdd59
+
5ebdd59
+# If the GENERATE_HTMLHELP tag is set to YES, additional index files 
5ebdd59
+# will be generated that can be used as input for tools like the 
5ebdd59
+# Microsoft HTML help workshop to generate a compiled HTML help file (.chm) 
5ebdd59
+# of the generated HTML documentation.
5ebdd59
+
5ebdd59
+GENERATE_HTMLHELP      = NO
5ebdd59
+
5ebdd59
+# If the GENERATE_HTMLHELP tag is set to YES, the CHM_FILE tag can 
5ebdd59
+# be used to specify the file name of the resulting .chm file. You 
5ebdd59
+# can add a path in front of the file if the result should not be 
5ebdd59
+# written to the html output directory.
5ebdd59
+
5ebdd59
+CHM_FILE               = 
5ebdd59
+
5ebdd59
+# If the GENERATE_HTMLHELP tag is set to YES, the HHC_LOCATION tag can 
5ebdd59
+# be used to specify the location (absolute path including file name) of 
5ebdd59
+# the HTML help compiler (hhc.exe). If non-empty doxygen will try to run 
5ebdd59
+# the HTML help compiler on the generated index.hhp.
5ebdd59
+
5ebdd59
+HHC_LOCATION           = 
5ebdd59
+
5ebdd59
+# If the GENERATE_HTMLHELP tag is set to YES, the GENERATE_CHI flag 
5ebdd59
+# controls if a separate .chi index file is generated (YES) or that 
5ebdd59
+# it should be included in the master .chm file (NO).
5ebdd59
+
5ebdd59
+GENERATE_CHI           = NO
5ebdd59
+
5ebdd59
+# If the GENERATE_HTMLHELP tag is set to YES, the CHM_INDEX_ENCODING
5ebdd59
+# is used to encode HtmlHelp index (hhk), content (hhc) and project file
5ebdd59
+# content.
5ebdd59
+
5ebdd59
+CHM_INDEX_ENCODING     = 
5ebdd59
+
5ebdd59
+# If the GENERATE_HTMLHELP tag is set to YES, the BINARY_TOC flag 
5ebdd59
+# controls whether a binary table of contents is generated (YES) or a 
5ebdd59
+# normal table of contents (NO) in the .chm file.
5ebdd59
+
5ebdd59
+BINARY_TOC             = NO
5ebdd59
+
5ebdd59
+# The TOC_EXPAND flag can be set to YES to add extra items for group members 
5ebdd59
+# to the contents of the HTML help documentation and to the tree view.
5ebdd59
+
5ebdd59
+TOC_EXPAND             = NO
5ebdd59
+
5ebdd59
+# If the GENERATE_QHP tag is set to YES and both QHP_NAMESPACE and QHP_VIRTUAL_FOLDER 
5ebdd59
+# are set, an additional index file will be generated that can be used as input for 
5ebdd59
+# Qt's qhelpgenerator to generate a Qt Compressed Help (.qch) of the generated 
5ebdd59
+# HTML documentation.
5ebdd59
+
5ebdd59
+GENERATE_QHP           = NO
5ebdd59
+
5ebdd59
+# If the QHG_LOCATION tag is specified, the QCH_FILE tag can 
5ebdd59
+# be used to specify the file name of the resulting .qch file. 
5ebdd59
+# The path specified is relative to the HTML output folder.
5ebdd59
+
5ebdd59
+QCH_FILE               = 
5ebdd59
+
5ebdd59
+# The QHP_NAMESPACE tag specifies the namespace to use when generating 
5ebdd59
+# Qt Help Project output. For more information please see 
5ebdd59
+# Qt Help Project / Namespace.
5ebdd59
+
5ebdd59
+QHP_NAMESPACE          = org.doxygen.Project
5ebdd59
+
5ebdd59
+# The QHP_VIRTUAL_FOLDER tag specifies the namespace to use when generating 
5ebdd59
+# Qt Help Project output. For more information please see 
5ebdd59
+# Qt Help Project / Virtual Folders.
5ebdd59
+
5ebdd59
+QHP_VIRTUAL_FOLDER     = doc
5ebdd59
+
5ebdd59
+# If the GENERATE_QHP tag is set to YES, the QHG_LOCATION tag can 
5ebdd59
+# be used to specify the location of Qt's qhelpgenerator. 
5ebdd59
+# If non-empty doxygen will try to run qhelpgenerator on the generated 
5ebdd59
+# .qhp file .
5ebdd59
+
5ebdd59
+QHG_LOCATION           = 
5ebdd59
+
5ebdd59
+# The DISABLE_INDEX tag can be used to turn on/off the condensed index at 
5ebdd59
+# top of each HTML page. The value NO (the default) enables the index and 
5ebdd59
+# the value YES disables it.
5ebdd59
+
5ebdd59
+DISABLE_INDEX          = NO
5ebdd59
+
5ebdd59
+# This tag can be used to set the number of enum values (range [1..20]) 
5ebdd59
+# that doxygen will group on one line in the generated HTML documentation.
5ebdd59
+
5ebdd59
+ENUM_VALUES_PER_LINE   = 4
5ebdd59
+
5ebdd59
+# The GENERATE_TREEVIEW tag is used to specify whether a tree-like index
5ebdd59
+# structure should be generated to display hierarchical information.
5ebdd59
+# If the tag value is set to FRAME, a side panel will be generated
5ebdd59
+# containing a tree-like index structure (just like the one that 
5ebdd59
+# is generated for HTML Help). For this to work a browser that supports 
5ebdd59
+# JavaScript, DHTML, CSS and frames is required (for instance Mozilla 1.0+, 
5ebdd59
+# Netscape 6.0+, Internet explorer 5.0+, or Konqueror). Windows users are 
5ebdd59
+# probably better off using the HTML help feature. Other possible values 
5ebdd59
+# for this tag are: HIERARCHIES, which will generate the Groups, Directories,
5ebdd59
+# and Class Hierarchy pages using a tree view instead of an ordered list;
5ebdd59
+# ALL, which combines the behavior of FRAME and HIERARCHIES; and NONE, which
5ebdd59
+# disables this behavior completely. For backwards compatibility with previous
5ebdd59
+# releases of Doxygen, the values YES and NO are equivalent to FRAME and NONE
5ebdd59
+# respectively.
5ebdd59
+
5ebdd59
+GENERATE_TREEVIEW      = NONE
5ebdd59
+
5ebdd59
+# If the treeview is enabled (see GENERATE_TREEVIEW) then this tag can be 
5ebdd59
+# used to set the initial width (in pixels) of the frame in which the tree 
5ebdd59
+# is shown.
5ebdd59
+
5ebdd59
+TREEVIEW_WIDTH         = 250
5ebdd59
+
5ebdd59
+# Use this tag to change the font size of Latex formulas included 
5ebdd59
+# as images in the HTML documentation. The default is 10. Note that 
5ebdd59
+# when you change the font size after a successful doxygen run you need 
5ebdd59
+# to manually remove any form_*.png images from the HTML output directory 
5ebdd59
+# to force them to be regenerated.
5ebdd59
+
5ebdd59
+FORMULA_FONTSIZE       = 10
5ebdd59
+
5ebdd59
+#---------------------------------------------------------------------------
5ebdd59
+# configuration options related to the LaTeX output
5ebdd59
+#---------------------------------------------------------------------------
5ebdd59
+
5ebdd59
+# If the GENERATE_LATEX tag is set to YES (the default) Doxygen will 
5ebdd59
+# generate Latex output.
5ebdd59
+
5ebdd59
+GENERATE_LATEX         = NO
5ebdd59
+
5ebdd59
+# The LATEX_OUTPUT tag is used to specify where the LaTeX docs will be put. 
5ebdd59
+# If a relative path is entered the value of OUTPUT_DIRECTORY will be 
5ebdd59
+# put in front of it. If left blank `latex' will be used as the default path.
5ebdd59
+
5ebdd59
+LATEX_OUTPUT           = latex
5ebdd59
+
5ebdd59
+# The LATEX_CMD_NAME tag can be used to specify the LaTeX command name to be 
5ebdd59
+# invoked. If left blank `latex' will be used as the default command name.
5ebdd59
+
5ebdd59
+LATEX_CMD_NAME         = latex
5ebdd59
+
5ebdd59
+# The MAKEINDEX_CMD_NAME tag can be used to specify the command name to 
5ebdd59
+# generate index for LaTeX. If left blank `makeindex' will be used as the 
5ebdd59
+# default command name.
5ebdd59
+
5ebdd59
+MAKEINDEX_CMD_NAME     = makeindex
5ebdd59
+
5ebdd59
+# If the COMPACT_LATEX tag is set to YES Doxygen generates more compact 
5ebdd59
+# LaTeX documents. This may be useful for small projects and may help to 
5ebdd59
+# save some trees in general.
5ebdd59
+
5ebdd59
+COMPACT_LATEX          = NO
5ebdd59
+
5ebdd59
+# The PAPER_TYPE tag can be used to set the paper type that is used 
5ebdd59
+# by the printer. Possible values are: a4, a4wide, letter, legal and 
5ebdd59
+# executive. If left blank a4wide will be used.
5ebdd59
+
5ebdd59
+PAPER_TYPE             = a4wide
5ebdd59
+
5ebdd59
+# The EXTRA_PACKAGES tag can be to specify one or more names of LaTeX 
5ebdd59
+# packages that should be included in the LaTeX output.
5ebdd59
+
5ebdd59
+EXTRA_PACKAGES         = 
5ebdd59
+
5ebdd59
+# The LATEX_HEADER tag can be used to specify a personal LaTeX header for 
5ebdd59
+# the generated latex document. The header should contain everything until 
5ebdd59
+# the first chapter. If it is left blank doxygen will generate a 
5ebdd59
+# standard header. Notice: only use this tag if you know what you are doing!
5ebdd59
+
5ebdd59
+LATEX_HEADER           = 
5ebdd59
+
5ebdd59
+# If the PDF_HYPERLINKS tag is set to YES, the LaTeX that is generated 
5ebdd59
+# is prepared for conversion to pdf (using ps2pdf). The pdf file will 
5ebdd59
+# contain links (just like the HTML output) instead of page references 
5ebdd59
+# This makes the output suitable for online browsing using a pdf viewer.
5ebdd59
+
5ebdd59
+PDF_HYPERLINKS         = YES
5ebdd59
+
5ebdd59
+# If the USE_PDFLATEX tag is set to YES, pdflatex will be used instead of 
5ebdd59
+# plain latex in the generated Makefile. Set this option to YES to get a 
5ebdd59
+# higher quality PDF documentation.
5ebdd59
+
5ebdd59
+USE_PDFLATEX           = YES
5ebdd59
+
5ebdd59
+# If the LATEX_BATCHMODE tag is set to YES, doxygen will add the \\batchmode. 
5ebdd59
+# command to the generated LaTeX files. This will instruct LaTeX to keep 
5ebdd59
+# running if errors occur, instead of asking the user for help. 
5ebdd59
+# This option is also used when generating formulas in HTML.
5ebdd59
+
5ebdd59
+LATEX_BATCHMODE        = NO
5ebdd59
+
5ebdd59
+# If LATEX_HIDE_INDICES is set to YES then doxygen will not 
5ebdd59
+# include the index chapters (such as File Index, Compound Index, etc.) 
5ebdd59
+# in the output.
5ebdd59
+
5ebdd59
+LATEX_HIDE_INDICES     = NO
5ebdd59
+
5ebdd59
+#---------------------------------------------------------------------------
5ebdd59
+# configuration options related to the RTF output
5ebdd59
+#---------------------------------------------------------------------------
5ebdd59
+
5ebdd59
+# If the GENERATE_RTF tag is set to YES Doxygen will generate RTF output 
5ebdd59
+# The RTF output is optimized for Word 97 and may not look very pretty with 
5ebdd59
+# other RTF readers or editors.
5ebdd59
+
5ebdd59
+GENERATE_RTF           = NO
5ebdd59
+
5ebdd59
+# The RTF_OUTPUT tag is used to specify where the RTF docs will be put. 
5ebdd59
+# If a relative path is entered the value of OUTPUT_DIRECTORY will be 
5ebdd59
+# put in front of it. If left blank `rtf' will be used as the default path.
5ebdd59
+
5ebdd59
+RTF_OUTPUT             = rtf
5ebdd59
+
5ebdd59
+# If the COMPACT_RTF tag is set to YES Doxygen generates more compact 
5ebdd59
+# RTF documents. This may be useful for small projects and may help to 
5ebdd59
+# save some trees in general.
5ebdd59
+
5ebdd59
+COMPACT_RTF            = NO
5ebdd59
+
5ebdd59
+# If the RTF_HYPERLINKS tag is set to YES, the RTF that is generated 
5ebdd59
+# will contain hyperlink fields. The RTF file will 
5ebdd59
+# contain links (just like the HTML output) instead of page references. 
5ebdd59
+# This makes the output suitable for online browsing using WORD or other 
5ebdd59
+# programs which support those fields. 
5ebdd59
+# Note: wordpad (write) and others do not support links.
5ebdd59
+
5ebdd59
+RTF_HYPERLINKS         = NO
5ebdd59
+
5ebdd59
+# Load stylesheet definitions from file. Syntax is similar to doxygen's 
5ebdd59
+# config file, i.e. a series of assignments. You only have to provide 
5ebdd59
+# replacements, missing definitions are set to their default value.
5ebdd59
+
5ebdd59
+RTF_STYLESHEET_FILE    = 
5ebdd59
+
5ebdd59
+# Set optional variables used in the generation of an rtf document. 
5ebdd59
+# Syntax is similar to doxygen's config file.
5ebdd59
+
5ebdd59
+RTF_EXTENSIONS_FILE    = 
5ebdd59
+
5ebdd59
+#---------------------------------------------------------------------------
5ebdd59
+# configuration options related to the man page output
5ebdd59
+#---------------------------------------------------------------------------
5ebdd59
+
5ebdd59
+# If the GENERATE_MAN tag is set to YES (the default) Doxygen will 
5ebdd59
+# generate man pages
5ebdd59
+
5ebdd59
+GENERATE_MAN           = NO
5ebdd59
+
5ebdd59
+# The MAN_OUTPUT tag is used to specify where the man pages will be put. 
5ebdd59
+# If a relative path is entered the value of OUTPUT_DIRECTORY will be 
5ebdd59
+# put in front of it. If left blank `man' will be used as the default path.
5ebdd59
+
5ebdd59
+MAN_OUTPUT             = man
5ebdd59
+
5ebdd59
+# The MAN_EXTENSION tag determines the extension that is added to 
5ebdd59
+# the generated man pages (default is the subroutine's section .3)
5ebdd59
+
5ebdd59
+MAN_EXTENSION          = .3
5ebdd59
+
5ebdd59
+# If the MAN_LINKS tag is set to YES and Doxygen generates man output, 
5ebdd59
+# then it will generate one additional man file for each entity 
5ebdd59
+# documented in the real man page(s). These additional files 
5ebdd59
+# only source the real man page, but without them the man command 
5ebdd59
+# would be unable to find the correct page. The default is NO.
5ebdd59
+
5ebdd59
+MAN_LINKS              = NO
5ebdd59
+
5ebdd59
+#---------------------------------------------------------------------------
5ebdd59
+# configuration options related to the XML output
5ebdd59
+#---------------------------------------------------------------------------
5ebdd59
+
5ebdd59
+# If the GENERATE_XML tag is set to YES Doxygen will 
5ebdd59
+# generate an XML file that captures the structure of 
5ebdd59
+# the code including all documentation.
5ebdd59
+
5ebdd59
+GENERATE_XML           = NO
5ebdd59
+
5ebdd59
+# The XML_OUTPUT tag is used to specify where the XML pages will be put. 
5ebdd59
+# If a relative path is entered the value of OUTPUT_DIRECTORY will be 
5ebdd59
+# put in front of it. If left blank `xml' will be used as the default path.
5ebdd59
+
5ebdd59
+XML_OUTPUT             = xml
5ebdd59
+
5ebdd59
+# The XML_SCHEMA tag can be used to specify an XML schema, 
5ebdd59
+# which can be used by a validating XML parser to check the 
5ebdd59
+# syntax of the XML files.
5ebdd59
+
5ebdd59
+XML_SCHEMA             = 
5ebdd59
+
5ebdd59
+# The XML_DTD tag can be used to specify an XML DTD, 
5ebdd59
+# which can be used by a validating XML parser to check the 
5ebdd59
+# syntax of the XML files.
5ebdd59
+
5ebdd59
+XML_DTD                = 
5ebdd59
+
5ebdd59
+# If the XML_PROGRAMLISTING tag is set to YES Doxygen will 
5ebdd59
+# dump the program listings (including syntax highlighting 
5ebdd59
+# and cross-referencing information) to the XML output. Note that 
5ebdd59
+# enabling this will significantly increase the size of the XML output.
5ebdd59
+
5ebdd59
+XML_PROGRAMLISTING     = YES
5ebdd59
+
5ebdd59
+#---------------------------------------------------------------------------
5ebdd59
+# configuration options for the AutoGen Definitions output
5ebdd59
+#---------------------------------------------------------------------------
5ebdd59
+
5ebdd59
+# If the GENERATE_AUTOGEN_DEF tag is set to YES Doxygen will 
5ebdd59
+# generate an AutoGen Definitions (see autogen.sf.net) file 
5ebdd59
+# that captures the structure of the code including all 
5ebdd59
+# documentation. Note that this feature is still experimental 
5ebdd59
+# and incomplete at the moment.
5ebdd59
+
5ebdd59
+GENERATE_AUTOGEN_DEF   = NO
5ebdd59
+
5ebdd59
+#---------------------------------------------------------------------------
5ebdd59
+# configuration options related to the Perl module output
5ebdd59
+#---------------------------------------------------------------------------
5ebdd59
+
5ebdd59
+# If the GENERATE_PERLMOD tag is set to YES Doxygen will 
5ebdd59
+# generate a Perl module file that captures the structure of 
5ebdd59
+# the code including all documentation. Note that this 
5ebdd59
+# feature is still experimental and incomplete at the 
5ebdd59
+# moment.
5ebdd59
+
5ebdd59
+GENERATE_PERLMOD       = NO
5ebdd59
+
5ebdd59
+# If the PERLMOD_LATEX tag is set to YES Doxygen will generate 
5ebdd59
+# the necessary Makefile rules, Perl scripts and LaTeX code to be able 
5ebdd59
+# to generate PDF and DVI output from the Perl module output.
5ebdd59
+
5ebdd59
+PERLMOD_LATEX          = NO
5ebdd59
+
5ebdd59
+# If the PERLMOD_PRETTY tag is set to YES the Perl module output will be 
5ebdd59
+# nicely formatted so it can be parsed by a human reader.  This is useful 
5ebdd59
+# if you want to understand what is going on.  On the other hand, if this 
5ebdd59
+# tag is set to NO the size of the Perl module output will be much smaller 
5ebdd59
+# and Perl will parse it just the same.
5ebdd59
+
5ebdd59
+PERLMOD_PRETTY         = YES
5ebdd59
+
5ebdd59
+# The names of the make variables in the generated doxyrules.make file 
5ebdd59
+# are prefixed with the string contained in PERLMOD_MAKEVAR_PREFIX. 
5ebdd59
+# This is useful so different doxyrules.make files included by the same 
5ebdd59
+# Makefile don't overwrite each other's variables.
5ebdd59
+
5ebdd59
+PERLMOD_MAKEVAR_PREFIX = 
5ebdd59
+
5ebdd59
+#---------------------------------------------------------------------------
5ebdd59
+# Configuration options related to the preprocessor   
5ebdd59
+#---------------------------------------------------------------------------
5ebdd59
+
5ebdd59
+# If the ENABLE_PREPROCESSING tag is set to YES (the default) Doxygen will 
5ebdd59
+# evaluate all C-preprocessor directives found in the sources and include 
5ebdd59
+# files.
5ebdd59
+
5ebdd59
+ENABLE_PREPROCESSING   = YES
5ebdd59
+
5ebdd59
+# If the MACRO_EXPANSION tag is set to YES Doxygen will expand all macro 
5ebdd59
+# names in the source code. If set to NO (the default) only conditional 
5ebdd59
+# compilation will be performed. Macro expansion can be done in a controlled 
5ebdd59
+# way by setting EXPAND_ONLY_PREDEF to YES.
5ebdd59
+
5ebdd59
+MACRO_EXPANSION        = NO
5ebdd59
+
5ebdd59
+# If the EXPAND_ONLY_PREDEF and MACRO_EXPANSION tags are both set to YES 
5ebdd59
+# then the macro expansion is limited to the macros specified with the 
5ebdd59
+# PREDEFINED and EXPAND_AS_DEFINED tags.
5ebdd59
+
5ebdd59
+EXPAND_ONLY_PREDEF     = NO
5ebdd59
+
5ebdd59
+# If the SEARCH_INCLUDES tag is set to YES (the default) the includes files 
5ebdd59
+# in the INCLUDE_PATH (see below) will be search if a #include is found.
5ebdd59
+
5ebdd59
+SEARCH_INCLUDES        = YES
5ebdd59
+
5ebdd59
+# The INCLUDE_PATH tag can be used to specify one or more directories that 
5ebdd59
+# contain include files that are not input files but should be processed by 
5ebdd59
+# the preprocessor.
5ebdd59
+
5ebdd59
+INCLUDE_PATH           = 
5ebdd59
+
5ebdd59
+# You can use the INCLUDE_FILE_PATTERNS tag to specify one or more wildcard 
5ebdd59
+# patterns (like *.h and *.hpp) to filter out the header-files in the 
5ebdd59
+# directories. If left blank, the patterns specified with FILE_PATTERNS will 
5ebdd59
+# be used.
5ebdd59
+
5ebdd59
+INCLUDE_FILE_PATTERNS  = 
5ebdd59
+
5ebdd59
+# The PREDEFINED tag can be used to specify one or more macro names that 
5ebdd59
+# are defined before the preprocessor is started (similar to the -D option of 
5ebdd59
+# gcc). The argument of the tag is a list of macros of the form: name 
5ebdd59
+# or name=definition (no spaces). If the definition and the = are 
5ebdd59
+# omitted =1 is assumed. To prevent a macro definition from being 
5ebdd59
+# undefined via #undef or recursively expanded use the := operator 
5ebdd59
+# instead of the = operator.
5ebdd59
+
5ebdd59
+PREDEFINED             = 
5ebdd59
+
5ebdd59
+# If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then 
5ebdd59
+# this tag can be used to specify a list of macro names that should be expanded. 
5ebdd59
+# The macro definition that is found in the sources will be used. 
5ebdd59
+# Use the PREDEFINED tag if you want to use a different macro definition.
5ebdd59
+
5ebdd59
+EXPAND_AS_DEFINED      = 
5ebdd59
+
5ebdd59
+# If the SKIP_FUNCTION_MACROS tag is set to YES (the default) then 
5ebdd59
+# doxygen's preprocessor will remove all function-like macros that are alone 
5ebdd59
+# on a line, have an all uppercase name, and do not end with a semicolon. Such 
5ebdd59
+# function macros are typically used for boiler-plate code, and will confuse 
5ebdd59
+# the parser if not removed.
5ebdd59
+
5ebdd59
+SKIP_FUNCTION_MACROS   = YES
5ebdd59
+
5ebdd59
+#---------------------------------------------------------------------------
5ebdd59
+# Configuration::additions related to external references   
5ebdd59
+#---------------------------------------------------------------------------
5ebdd59
+
5ebdd59
+# The TAGFILES option can be used to specify one or more tagfiles. 
5ebdd59
+# Optionally an initial location of the external documentation 
5ebdd59
+# can be added for each tagfile. The format of a tag file without 
5ebdd59
+# this location is as follows: 
5ebdd59
+#   TAGFILES = file1 file2 ... 
5ebdd59
+# Adding location for the tag files is done as follows: