libdebian-installer
include
debian-installer
types.h
1
/*
2
* types.h
3
*
4
* Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
5
* 2003 Bastian Blank <waldi@debian.org>
6
*
7
* This program is free software; you can redistribute it and/or modify
8
* it under the terms of the GNU General Public License as published by
9
* the Free Software Foundation; either version 2 of the License, or
10
* (at your option) any later version.
11
*
12
* This program is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
* GNU General Public License for more details.
16
*
17
* You should have received a copy of the GNU General Public License
18
* along with this program. If not, see <http://www.gnu.org/licenses/>.
19
*/
20
21
#ifndef DEBIAN_INSTALLER__TYPES_H
22
#define DEBIAN_INSTALLER__TYPES_H
23
24
#include <stdbool.h>
25
#include <stdint.h>
26
#include <sys/types.h>
27
38
typedef
int
di_compare_func
(
const
void
*key1,
const
void
*key2);
45
typedef
bool
di_equal_func
(
const
void
*key1,
const
void
*key2);
50
typedef
void
di_destroy_notify
(
void
*data);
56
typedef
uint32_t
di_hash_func
(
const
void
*key);
57
typedef
void
di_hfunc (
void
*key,
void
*value,
void
*user_data);
58
typedef
void
di_func (
void
*data,
void
*user_data);
59
66
typedef
int
di_io_handler
(
const
char
*buf,
size_t
len,
void
*user_data);
67
73
typedef
int
di_process_handler
(pid_t pid,
void
*user_data);
74
78
typedef
uint32_t
di_ksize_t
;
79
81
#endif
di_destroy_notify
void di_destroy_notify(void *data)
Definition:
types.h:50
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_ksize_t
uint32_t di_ksize_t
Definition:
types.h:78
di_process_handler
int di_process_handler(pid_t pid, void *user_data)
Definition:
types.h:73
di_compare_func
int di_compare_func(const void *key1, const void *key2)
Definition:
types.h:38
di_equal_func
bool di_equal_func(const void *key1, const void *key2)
Definition:
types.h:45
Generated by
1.8.20