X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;f=src%2Fheaders%2Fdirtree_op.h;h=7563a79da555f80033061cd2b62f1e1a804c4657;hb=c41c816a22f0e06f1c2b0a91563f3d9a3bcdb82a;hp=50e9aedaac6ccdaf0bb4da8ae053f295c81d27b8;hpb=914feba5d54f979cd5d7e69c349c3d01f630042a;p=ossec-hids.git diff --git a/src/headers/dirtree_op.h b/src/headers/dirtree_op.h index 50e9aed..7563a79 100755 --- a/src/headers/dirtree_op.h +++ b/src/headers/dirtree_op.h @@ -1,19 +1,20 @@ -/* @(#) $Id: dirtree_op.h,v 1.3 2009/06/24 17:06:26 dcid Exp $ */ +/* @(#) $Id: ./src/headers/dirtree_op.h, 2011/09/08 dcid Exp $ + */ /* Copyright (C) 2009 Trend Micro Inc. * All rights reserved. * * This program is a free software; you can redistribute it * and/or modify it under the terms of the GNU General Public - * License (version 3) as published by the FSF - Free Software + * License (version 2) as published by the FSF - Free Software * Foundation. * * 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 @@ -22,7 +23,7 @@ typedef struct _OSTreeNode { struct _OSTreeNode *next; void *child; - + char *value; void *data; }OSTreeNode; @@ -38,7 +39,7 @@ typedef struct _OSDirTree OSDirTree *OSDirTree_Create(); void OSDirTree_AddToTree(OSDirTree *tree, char *str, void *data, char sep); void *OSDirTree_SearchTree(OSDirTree *tree, char *str, char sep); - + #endif