Mercurial > noffle
comparison src/util.h @ 87:bf8c97460fd7 noffle
[svn] Preserve newslines and spaces in header lines
author | bears |
---|---|
date | Thu, 18 May 2000 13:11:05 +0100 |
parents | e612b263934f |
children | 93cc929329eb |
comparison
equal
deleted
inserted
replaced
86:dfd898776a35 | 87:bf8c97460fd7 |
---|---|
1 /* | 1 /* |
2 util.h | 2 util.h |
3 | 3 |
4 Miscellaneous helper functions. | 4 Miscellaneous helper functions. |
5 | 5 |
6 $Id: util.h 65 2000-05-12 16:52:41Z enz $ | 6 $Id: util.h 99 2000-05-18 12:11:05Z bears $ |
7 */ | 7 */ |
8 | 8 |
9 #ifndef UTL_H | 9 #ifndef UTL_H |
10 #define UTL_H | 10 #define UTL_H |
11 | 11 |
49 const char * | 49 const char * |
50 Utl_ungetLn( const char *str, const char *p ); | 50 Utl_ungetLn( const char *str, const char *p ); |
51 | 51 |
52 /* | 52 /* |
53 Read a header line from string. Reads continuation lines if | 53 Read a header line from string. Reads continuation lines if |
54 necessary. Return NULL if pos == NULL or no more line to read | 54 necessary. Line is returned as formatted, including '\n's. |
55 Return NULL if pos == NULL or no more line to read. | |
55 */ | 56 */ |
56 const char * | 57 const char * |
57 Utl_getHeaderLn( Str result, const char *p ); | 58 Utl_getHeaderLn( Str result, const char *p ); |
58 | 59 |
59 /* | 60 /* |