summaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugin.h')
-rw-r--r--apps/plugin.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/plugin.h b/apps/plugin.h
index 3b79ede..45acfaf 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -37,7 +37,7 @@
#include "lcd.h"
/* increase this every time the api struct changes */
-#define PLUGIN_API_VERSION 1
+#define PLUGIN_API_VERSION 2
/* plugin return codes */
enum plugin_status {
@@ -149,6 +149,8 @@ struct plugin_api {
void (*srand)(unsigned int seed);
int (*rand)(void);
void (*splash)(int ticks, int keymask, bool center, char *fmt, ...);
+ void (*qsort)(void *base, size_t nmemb, size_t size,
+ int(*compar)(const void *, const void *));
};
/* defined by the plugin loader (plugin.c) */