Changeset 5312:27ec111dc8c5 in roaraudio for include/libroar/roardl.h
- Timestamp:
- 11/30/11 01:05:41 (12 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
include/libroar/roardl.h
r5275 r5312 148 148 int (*func[ROAR_DL_FN_MAX])(struct roar_dl_librarypara * para, struct roar_dl_libraryinst * lib); 149 149 struct roar_dl_libraryname * libname; 150 size_t global_data_len; 151 void * global_data_init; 152 void ** global_data_pointer; 150 153 }; 151 154 155 // parameter functions: 152 156 struct roar_dl_librarypara * roar_dl_para_new(const char * args, void * binargv, 153 157 const char * appname, const char * abiversion); … … 157 161 const char * appname, const char * abiversion); 158 162 163 // 'core' dynamic loader functions. 159 164 struct roar_dl_lhandle * roar_dl_open (const char * filename, int flags, 160 165 int ra_init, struct roar_dl_librarypara * para); … … 169 174 const char * roar_dl_errstr (struct roar_dl_lhandle * lhandle); 170 175 176 // getting meta data: 171 177 struct roar_dl_librarypara * roar_dl_getpara(struct roar_dl_lhandle * lhandle); 172 178 const struct roar_dl_libraryname * roar_dl_getlibname(struct roar_dl_lhandle * lhandle); 179 180 // context switching: 181 // _restore() is to switch from main to library context. _store() is to store library context 182 // and switch back to main context. 183 int roar_dl_context_restore(struct roar_dl_lhandle * lhandle); 184 int roar_dl_context_store(struct roar_dl_lhandle * lhandle); 173 185 174 186 #endif
Note: See TracChangeset
for help on using the changeset viewer.