diff options
author | Trumeet <yuuta@yuuta.moe> | 2021-07-08 21:20:11 -0700 |
---|---|---|
committer | Trumeet <yuuta@yuuta.moe> | 2021-07-08 21:20:11 -0700 |
commit | 097ddb404f2a67398821c6a27f24db5cb939b79d (patch) | |
tree | fd3f9325e8c33ada2aefcebf645f73425f38af12 /plugin | |
parent | 2fe493287c572ea988d6e79981f1fba02891a01f (diff) | |
download | extmc-097ddb404f2a67398821c6a27f24db5cb939b79d.tar extmc-097ddb404f2a67398821c6a27f24db5cb939b79d.tar.gz extmc-097ddb404f2a67398821c6a27f24db5cb939b79d.tar.bz2 extmc-097ddb404f2a67398821c6a27f24db5cb939b79d.zip |
This greatly simplifies the management of plugins, but no longer supports loading the same plugin twice.
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/plugin.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/plugin/plugin.h b/plugin/plugin.h index bfed63d..e52c62f 100644 --- a/plugin/plugin.h +++ b/plugin/plugin.h @@ -17,10 +17,13 @@ extern const uint32_t epg_version; /* Plugin display name. */ extern const char *epg_name; +/* NULL terminated unique ID */ +extern const char *epg_id; + /* Current session handle. */ struct epg_handle { /* Unique ID. */ - int id; + const char *id; /* Send rcon command. */ int (*rcon_send)(int, char *); int (*rcon_recv)(int *, char *); |