chiark
/
gitweb
/
~ian
/
userv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
debian/control: Add missing build-dependency on flex. Fixes FTBFS. Report from Aurel...
[userv.git]
/
lib.h
diff --git
a/lib.h
b/lib.h
index 7d78cb9856e1354d4f8e43e57bb167d6079a9953..f9a17e0e26df8181bde62ed93be1e493cf9092f4 100644
(file)
--- a/
lib.h
+++ b/
lib.h
@@
-2,11
+2,12
@@
* userv - lib.c
* useful utility routines' imports and exports, used in daemon
*
* userv - lib.c
* useful utility routines' imports and exports, used in daemon
*
- * Copyright (C)1996-1997,1999 Ian Jackson
+ * userv is copyright Ian Jackson and other contributors.
+ * See README for full authorship information.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by
*
* This 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
+ * the Free Software Foundation; either version
3
of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful, but
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful, but
@@
-15,21
+16,16
@@
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License
- * along with userv; if not, write to the Free Software
- * Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ * along with userv; if not, see <http://www.gnu.org/licenses/>.
*/
#ifndef LIB_H
#define LIB_H
char *xstrcat3save(const char *a, const char *b, const char *c);
*/
#ifndef LIB_H
#define LIB_H
char *xstrcat3save(const char *a, const char *b, const char *c);
-char *xstrsave(const char *s);
char *xstrsubsave(const char *begin, int len);
void miscerror(const char *what) NONRETURNING;
char *xstrsubsave(const char *begin, int len);
void miscerror(const char *what) NONRETURNING;
-void syscallerror(const char *what) NONRETURNING;
-void *xmalloc(size_t s);
-void *xrealloc(void *p, size_t s);
int makeroom(char **buffer, int *size, int needed);
/* makeroom returns -1 if needed was far too large; otherwise returns 0. */
int makeroom(char **buffer, int *size, int needed);
/* makeroom returns -1 if needed was far too large; otherwise returns 0. */