Home Download Musics Developers
API Sources Tools File Format Technicals

rsc68.h File Reference


Detailed Description

resources header.

Author:
Benjamin Gerard <ben@sashipa.com>
Date:
1998/10/07
Id
rsc68.h,v 2.4 2003/10/29 06:50:41 benjihan Exp

#include "file68/istream68.h"

Go to the source code of this file.

Data Structures

struct  rsc68_info_t
 Resource specific information. More...


Typedefs

typedef istream_t *(* rsc68_handler_t )(rsc68_t type, const char *name, int mode, rsc68_info_t *info)
 Resource handle function type.


Enumerations

enum  rsc68_t {
  rsc68_replay, rsc68_config, rsc68_sample, rsc68_dll,
  rsc68_music, rsc68_last
}
 Resource type. More...


Functions

const char * rsc68_set_share (const char *path)
 Set shared resource path.

const char * rsc68_set_user (const char *path)
 Set user resource path.

const char * rsc68_set_music (const char *path)
 Set sc68 local music database path.

const char * rsc68_set_remote_music (const char *path)
 Set sc68 remote music database path.

void rsc68_get_path (const char **share, const char **user, const char **lmusic, const char **rmusic)
 Get resource pathes.

rsc68_handler_t rsc68_set_handler (rsc68_handler_t fct)
 Set/Get resource handler.

istream_trsc68_open (rsc68_t type, const char *name, int mode, rsc68_info_t *info)
 Open a resource in given mode.

istream_trsc68_open_url (const char *url, int mode, rsc68_info_t *info)
 Open a resource URL in given mode.

const char * rsc68_get_music_params (rsc68_info_t *info, const char *str)
 Get music parameters from string.