libdebian-installer
parser_rfc822.h
1/*
2 * parser_rfc822.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__PARSER_RFC822_H
21#define DEBIAN_INSTALLER__PARSER_RFC822_H
22
23#include <debian-installer/hash.h>
24#include <debian-installer/parser.h>
25
26#include <stdio.h>
27
45int di_parser_rfc822_read (char *begin, size_t size, di_parser_info *fieldinfo, di_parser_read_entry_new entry_new, di_parser_read_entry_finish entry_finish, void *user_data);
46
58int di_parser_rfc822_read_file (const char *file, di_parser_info *fieldinfo, di_parser_read_entry_new entry_new, di_parser_read_entry_finish entry_finish, void *user_data);
59
70int di_parser_rfc822_write_file (const char *file, di_parser_info *fieldinfo, di_parser_write_entry_next entry_next, void *user_data);
71
73#endif
int di_parser_rfc822_write_file(const char *file, di_parser_info *fieldinfo, di_parser_write_entry_next entry_next, void *user_data)
Definition parser_rfc822.c:250
int di_parser_rfc822_read_file(const char *file, di_parser_info *fieldinfo, di_parser_read_entry_new entry_new, di_parser_read_entry_finish entry_finish, void *user_data)
Definition parser_rfc822.c:211
int di_parser_rfc822_read(char *begin, size_t size, di_parser_info *fieldinfo, di_parser_read_entry_new entry_new, di_parser_read_entry_finish entry_finish, void *user_data)
Definition parser_rfc822.c:38
int di_parser_read_entry_finish(void *data, void *user_data)
Definition parser.h:82
void * di_parser_read_entry_new(void *user_data)
Definition parser.h:76
void * di_parser_write_entry_next(void **state_data, void *user_data)
Definition parser.h:88
Parse info.
Definition parser.h:94