types.h
/*
* types.h
*
* Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
* 2003 Bastian Blank <waldi@debian.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef DEBIAN_INSTALLER__TYPES_H
#define DEBIAN_INSTALLER__TYPES_H
#include <stdbool.h>
#include <stdint.h>
#include <sys/types.h>
typedef int di_compare_func (const void *key1, const void *key2);
typedef bool di_equal_func (const void *key1, const void *key2);
typedef void di_destroy_notify (void *data);
typedef uint32_t di_hash_func (const void *key);
typedef void di_hfunc (void *key, void *value, void *user_data);
typedef void di_func (void *data, void *user_data);
typedef int di_io_handler (const char *buf, size_t len, void *user_data);
typedef int di_process_handler (pid_t pid, void *user_data);
typedef uint32_t di_ksize_t;
#endif
di_process_handler
int di_process_handler(pid_t pid, void *user_data)
Definition types.h:73
di_ksize_t
uint32_t di_ksize_t
Definition types.h:78
di_equal_func
bool di_equal_func(const void *key1, const void *key2)
Definition types.h:45
di_compare_func
int di_compare_func(const void *key1, const void *key2)
Definition types.h:38
di_hash_func
uint32_t di_hash_func(const void *key)
Definition types.h:56
di_io_handler
int di_io_handler(const char *buf, size_t len, void *user_data)
Definition types.h:66
di_destroy_notify
void di_destroy_notify(void *data)
Definition types.h:50