Main Page | Modules | Data Structures | Directories | File List | Data Fields | Related Pages

types.h

00001 /*
00002  * types.h
00003  *
00004  * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
00005  *               2003 Bastian Blank <waldi@debian.org>
00006  *
00007  * This program is free software; you can redistribute it and/or modify
00008  * it under the terms of the GNU General Public License as published by
00009  * the Free Software Foundation; either version 2 of the License, or
00010  * (at your option) any later version.
00011  *
00012  * This program is distributed in the hope that it will be useful,
00013  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00014  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00015  * GNU General Public License for more details.
00016  *
00017  * You should have received a copy of the GNU General Public License
00018  * along with this program; if not, write to the Free Software
00019  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
00020  *
00021  * $Id: types.h 29603 2005-07-31 16:10:46Z cjwatson $
00022  */
00023 
00024 #ifndef DEBIAN_INSTALLER__TYPES_H
00025 #define DEBIAN_INSTALLER__TYPES_H
00026 
00027 #include <stdbool.h>
00028 #include <stdint.h>
00029 #include <sys/types.h>
00030 
00042 typedef bool di_equal_func (const void *key1, const void *key2);
00047 typedef void di_destroy_notify (void *data);
00053 typedef uint32_t di_hash_func (const void *key);
00054 typedef void di_hfunc (void *key, void *value, void *user_data);
00055 typedef void di_func (void *data, void *user_data);
00056 
00063 typedef int di_io_handler (const char *buf, size_t len, void *user_data);
00064 
00070 typedef int di_process_handler (pid_t pid, void *user_data);
00071 
00075 typedef uint32_t di_ksize_t;
00076 
00078 #endif

Generated on Thu Aug 4 08:15:27 2005 for libdebian-installer by  doxygen 1.4.4