diff options
author | Bert Vermeulen <bert@biot.com> | 2012-02-12 04:07:22 +0100 |
---|---|---|
committer | Bert Vermeulen <bert@biot.com> | 2012-02-12 04:09:12 +0100 |
commit | 65e1c7d091956e42aa4d97d7b639e10076e6f8ff (patch) | |
tree | c6ab13526a574df68fb7052377aaf7bfcdf6c25a /sigrokdecode.h | |
parent | e09023b9dc8f1d6783a3bf6b05402a88060a795f (diff) | |
download | libsigrokdecode-65e1c7d091956e42aa4d97d7b639e10076e6f8ff.tar.gz libsigrokdecode-65e1c7d091956e42aa4d97d7b639e10076e6f8ff.zip |
srd: extra module path can now optionally be passed to srd_init()
Also environment variable SIGROKDECODE_DIR, if present, is prepended
to the module path.
Diffstat (limited to 'sigrokdecode.h')
-rw-r--r-- | sigrokdecode.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sigrokdecode.h b/sigrokdecode.h index 2728d72..ae4ec81 100644 --- a/sigrokdecode.h +++ b/sigrokdecode.h @@ -199,9 +199,9 @@ typedef struct { /*--- controller.c ----------------------------------------------------------*/ -SRD_API int srd_init(void); +SRD_API int srd_init(char *path); SRD_API int srd_exit(void); -SRD_API int set_modulepath(void); +SRD_PRIV int add_modulepath(const char *path); SRD_API int srd_inst_set_options(struct srd_decoder_inst *di, GHashTable *options); SRD_API int srd_inst_set_probes(struct srd_decoder_inst *di, |