sc68fordevelopers  2.2.1
rsc68.h
Go to the documentation of this file.
1 
12 /* Copyright (C) 1998-2003 Benjamin Gerard */
13 
14 #ifndef _RSC68_H_
15 #define _RSC68_H_
16 
17 #include "file68/istream68.h"
18 
19 #ifdef __cplusplus
20 extern "C" {
21 #endif
22 
24 typedef enum
25 {
30 } SC68rsc_t;
31 
33 typedef istream_t * (*SC68rsc_handler_t)(SC68rsc_t , const char *, int);
34 
47 const char * SC68rsc_set_share(const char *path);
48 
60 const char * SC68rsc_set_user(const char *path);
61 
64 void SC68rsc_get_path(const char **share, const char **user);
65 
91 
106 istream_t * SC68rsc_open(SC68rsc_t type, const char *name, int mode);
107 
108 #ifdef __cplusplus
109 }
110 #endif
111 
112 #endif /* #ifndef _RSC68_H_ */
SC68rsc_handler_t SC68rsc_set_handler(SC68rsc_handler_t fct)
Set/Get resource handler.
68000 external replay.
Definition: rsc68.h:26
Sc68 dynamic library.
Definition: rsc68.h:29
void SC68rsc_get_path(const char **share, const char **user)
Get resource pathes.
Sc68 sample files.
Definition: rsc68.h:28
istream_t * SC68rsc_open(SC68rsc_t type, const char *name, int mode)
Open a resource in given mode.
Config file.
Definition: rsc68.h:27
Input stream structure.
Definition: istream68_def.h:67
istream_t *(* SC68rsc_handler_t)(SC68rsc_t, const char *, int)
Resource handle function type.
Definition: rsc68.h:33
const char * SC68rsc_set_user(const char *path)
Set user resource path.
SC68rsc_t
SC68 resource file type.
Definition: rsc68.h:24
const char * SC68rsc_set_share(const char *path)
Set shared resource path.
generic stream operation.