Mercurial > hg > sidinfo
diff sidlib.h @ 85:4c0ecb078591
Rename various variables and functions and change relevant places to use the
new th_ctx API.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 11 Feb 2016 23:18:58 +0200 |
parents | 5d61d8dbc77f |
children | e1ff9cd27a84 |
line wrap: on
line diff
--- a/sidlib.h Thu Feb 11 23:15:59 2016 +0200 +++ b/sidlib.h Thu Feb 11 23:18:58 2016 +0200 @@ -7,8 +7,10 @@ #define SIDLIB_H 1 #include "th_util.h" +#include "th_ioctx.h" #include "th_crypto.h" + #ifdef __cplusplus extern "C" { #endif @@ -71,10 +73,10 @@ // // Functions // -int siReadPSIDFile(FILE *fh, PSIDHeader *psid); +int si_read_sid_file(th_ioctx *ctx, PSIDHeader *psid); -const char * siGetSIDClockStr(const int flags); -const char * siGetSIDModelStr(const int flags); +const char * si_get_sid_clock_str(const int flags); +const char * si_get_sid_model_str(const int flags); #ifdef __cplusplus