libdebian-installer
Main Page
Related Pages
Modules
Data Structures
Files
File List
include
debian-installer
release.h
1
/*
2
* release.h
3
*
4
* Copyright (C) 2003 Bastian Blank <waldi@debian.org>
5
*
6
* This program is free software; you can redistribute it and/or modify
7
* it under the terms of the GNU General Public License as published by
8
* the Free Software Foundation; either version 2 of the License, or
9
* (at your option) any later version.
10
*
11
* This program is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
* GNU General Public License for more details.
15
*
16
* You should have received a copy of the GNU General Public License
17
* along with this program. If not, see <http://www.gnu.org/licenses/>.
18
*/
19
20
#ifndef DEBIAN_INSTALLER__RELEASE_H
21
#define DEBIAN_INSTALLER__RELEASE_H
22
23
#include <debian-installer/hash.h>
24
#include <debian-installer/parser.h>
25
#include <debian-installer/slist.h>
26
27
typedef
struct
di_release
di_release
;
28
typedef
struct
di_release_file
di_release_file
;
29
38
struct
di_release
39
{
40
char
*
origin
;
41
char
*
suite
;
42
char
*
codename
;
43
di_hash_table
*
md5sum
;
44
di_mem_chunk
*
release_file_mem_chunk
;
45
};
46
50
struct
di_release_file
51
{
52
union
53
{
54
char
*
filename
;
55
di_rstring
key
;
56
};
57
unsigned
int
size
;
58
char
*
sum
[2];
59
};
60
61
di_release
*
di_release_alloc
(
void
);
62
void
di_release_free
(
di_release
*packages);
63
70
di_release
*
di_release_read_file
(
const
char
*file);
71
74
di_parser_fields_function_read
75
di_release_parser_read_file;
76
82
extern
const
di_parser_fieldinfo
*
di_release_parser_fieldinfo
[];
83
85
#endif
Generated on Fri Apr 12 2013 10:00:30 for libdebian-installer by
1.8.3.1