libdebian-installer
Main Page
Related Pages
Modules
Data Structures
Files
File List
include
debian-installer
string.h
1
/*
2
* string.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__STRING_H
21
#define DEBIAN_INSTALLER__STRING_H
22
23
#include <debian-installer/types.h>
24
25
#include <stdio.h>
26
27
typedef
struct
di_rstring
di_rstring
;
28
37
struct
di_rstring
38
{
39
char
*
string
;
40
di_ksize_t
size
;
41
};
42
51
int
di_snprintfcat
(
char
*str,
size_t
size,
const
char
*format, ...)
52
#ifdef __GNUC__
53
__attribute__ ((format (printf, 3, 4)))
54
#endif
55
;
56
64
char
*
di_stradup
(
const
char
*s,
size_t
n);
65
67
#endif
Generated on Fri Apr 12 2013 10:00:30 for libdebian-installer by
1.8.3.1