• Main Page
  • Related Pages
  • Modules
  • Data Structures
  • Files
  • File List
  • Globals

/home/pvrabec/project/openscap/openscap-0.6.4/src/common/bfind.h

00001 
00002 /*
00003  * Copyright 2009 Red Hat Inc., Durham, North Carolina.
00004  * All Rights Reserved.
00005  *
00006  * This library is free software; you can redistribute it and/or
00007  * modify it under the terms of the GNU Lesser General Public
00008  * License as published by the Free Software Foundation; either
00009  * version 2.1 of the License, or (at your option) any later version.
00010  *
00011  * This library is distributed in the hope that it will be useful,
00012  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00014  * Lesser General Public License for more details.
00015  *
00016  * You should have received a copy of the GNU Lesser General Public
00017  * License along with this library; if not, write to the Free Software
00018  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00019  *
00020  * Authors:
00021  *       Lukas Kuklinek <lkuklinek@redhat.com>
00022  */
00023 
00024 #pragma once
00025 #ifndef BFIND_H
00026 #define BFIND_H
00027 
00028 #include <stddef.h>
00029 #include <unistd.h>
00030 #include <stdint.h>
00031 
00032 void *oscap_bfind(void *ptr, size_t nmemb, size_t size, void *key, int cmpfn(void *, void *));
00033 int32_t oscap_bfind_i(void *ptr, size_t nmemb, size_t size, void *key, int cmpfn(void *, void *));
00034 
00035 #endif                          /* BFIND_H */

Generated on Wed Oct 20 2010 for Open SCAP Library by  doxygen 1.7.1