-/* @(#) $Id$ */
+/* @(#) $Id: ./src/headers/dirtree_op.h, 2011/09/08 dcid Exp $
+ */
/* Copyright (C) 2009 Trend Micro Inc.
* All rights reserved.
* License details at the LICENSE file included with OSSEC or
* online at: http://www.ossec.net/en/licensing.html
*/
-
+
/* Common API for dealing with directory trees */
-
+
#ifndef _OS_DIRTREE
#define _OS_DIRTREE
{
struct _OSTreeNode *next;
void *child;
-
+
char *value;
void *data;
}OSTreeNode;
OSDirTree *OSDirTree_Create();
void OSDirTree_AddToTree(OSDirTree *tree, char *str, void *data, char sep);
void *OSDirTree_SearchTree(OSDirTree *tree, char *str, char sep);
-
+
#endif