aboutsummaryrefslogtreecommitdiff
path: root/src/SStringIO.h
blob: 9924940d3914be99141fcd6fb11eacefc9bc569a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
 /*@@
  @file      SStringIO.h
  @date      02.04.2004
  @author    Steve White
  @desc      Extensions to Strings module involvint file IO
  @enddesc
  @version $Header$
  @@*/
#ifndef _SSTRINGIO_H
#define _SSTRINGIO_H

#include "SString.h"
#include <stdio.h>

#ifdef __cplusplus
extern "C"
{
#endif
				/* File utilities */
String *	StringReadToDelimiter( String *str, FILE * file, char delim );
String *	StringReadToEndOfLine( String *str, FILE * is );
String *	StringReadLine( String *str, FILE * is );

void		StringPrintToFile( const String *str, FILE * is );
void		StringFormatPrintToFile( const String *str, const char *format,
					FILE * is );

#ifdef __cplusplus
}
#endif

#endif