summaryrefslogtreecommitdiffstats
path: root/src/plugin.h
blob: c6ed7b1f2d225ef0b0b5ae38112fe6a699c3fc77 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef _RCC_PLUGIN_H
#define _RCC_PLUGIN_H
#include "enca.h"

#ifdef RCC_ENCA_DYNAMIC
# define RCC_PLUGINS
#endif /* RCC_ENCA_DYNAMIC */

typedef void *rcc_library_handle;

rcc_library_handle rccLibraryOpen(char *filename);
void rccLibraryClose(rcc_library_handle handle);
void* rccLibraryFind(rcc_library_handle handle, const char *symbol);

#endif /* _RCC_PLUGIN_H */