diff options
author | Timo Teräs <timo.teras@iki.fi> | 2013-06-18 13:01:51 +0300 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2013-06-18 13:02:27 +0300 |
commit | fe41ae07b90bbd4609ee6871def851a41027aae8 (patch) | |
tree | 7f5a872c5ee030450e3cfdb84a73c9338f69d7f4 /src/apk_applet.h | |
parent | c51d82f8f616c2c8939b74c1d78f723ef778f0c8 (diff) | |
download | apk-tools-fe41ae07b90bbd4609ee6871def851a41027aae8.tar.gz apk-tools-fe41ae07b90bbd4609ee6871def851a41027aae8.tar.bz2 apk-tools-fe41ae07b90bbd4609ee6871def851a41027aae8.tar.xz apk-tools-fe41ae07b90bbd4609ee6871def851a41027aae8.zip |
apk: use string array in applet mains, separate apk_name_foreach_matching
Diffstat (limited to 'src/apk_applet.h')
-rw-r--r-- | src/apk_applet.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/apk_applet.h b/src/apk_applet.h index 63f9da9..fa690fc 100644 --- a/src/apk_applet.h +++ b/src/apk_applet.h @@ -36,7 +36,7 @@ struct apk_applet { int (*parse)(void *ctx, struct apk_db_options *dbopts, int optch, int optindex, const char *optarg); - int (*main)(void *ctx, struct apk_database *db, int argc, char **argv); + int (*main)(void *ctx, struct apk_database *db, struct apk_string_array *args); }; extern struct apk_applet *__start_apkapplets, *__stop_apkapplets; |