00001
00012
00013
00014 #ifndef _RSC68_H_
00015 #define _RSC68_H_
00016
00017 #include "file68/istream68.h"
00018
00019 #ifdef __cplusplus
00020 extern "C" {
00021 #endif
00022
00024 typedef enum
00025 {
00026 SC68rsc_replay,
00027 SC68rsc_config,
00028 SC68rsc_sample,
00029 SC68rsc_dll,
00030 } SC68rsc_t;
00031
00033 typedef istream_t * (*SC68rsc_handler_t)(SC68rsc_t , const char *, int);
00034
00047 const char * SC68rsc_set_share(const char *path);
00048
00060 const char * SC68rsc_set_user(const char *path);
00061
00064 void SC68rsc_get_path(const char **share, const char **user);
00065
00090 SC68rsc_handler_t SC68rsc_set_handler(SC68rsc_handler_t fct);
00091
00106 istream_t * SC68rsc_open(SC68rsc_t type, const char *name, int mode);
00107
00108 #ifdef __cplusplus
00109 }
00110 #endif
00111
00112 #endif