summaryrefslogtreecommitdiff
path: root/src/libnml/os_intf/inetfile.hh
blob: b5c8f1b60768af9fb53cbc4fa1e9e9e35d897cfa (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
33
34
35
36
37
38
39
/********************************************************************
* Description: inetfile.hh
*
*   Derived from a work by Fred Proctor & Will Shackleford
*
* Author:
* License: LGPL Version 2
* System: Linux
*    
* Copyright (c) 2004 All rights reserved.
*
* Last change: 
********************************************************************/

#ifndef INETFILE_HH
#define INETFILE_HH

#ifdef __cplusplus
class INET_FILE;
#else
#define INET_FILE void
#endif

#ifdef __cplusplus
extern "C" {
#endif

    int inet_file_init(const char *, char *, int debug);
    int inet_file_exit();
    INET_FILE *inet_file_open(const char *url, char *);
    int inet_file_close(INET_FILE *);
    char *inet_file_gets(char *, int, INET_FILE *);
    int inet_file_eof(INET_FILE *);
    int inet_file_rewind(INET_FILE *);

#ifdef __cplusplus
}
#endif
#endif