diff options
author | Timo Teräs <timo.teras@iki.fi> | 2014-10-08 15:29:27 +0300 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2014-10-08 15:29:27 +0300 |
commit | 38e3f5463878a29e675be8430135e36b552c0ac1 (patch) | |
tree | 6487e72ccb5a65d804b3f768cd22cf353df039b8 /src/apk_database.h | |
parent | 275dd16c42b7208723cfa84ac9c6eb0dcb8071b6 (diff) | |
download | apk-tools-38e3f5463878a29e675be8430135e36b552c0ac1.tar.gz apk-tools-38e3f5463878a29e675be8430135e36b552c0ac1.tar.bz2 apk-tools-38e3f5463878a29e675be8430135e36b552c0ac1.tar.xz apk-tools-38e3f5463878a29e675be8430135e36b552c0ac1.zip |
rework option parsing to have a group structure
Add also a new 'commit' group that is the common options
for all applets that can commit package changes.
Diffstat (limited to 'src/apk_database.h')
-rw-r--r-- | src/apk_database.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/apk_database.h b/src/apk_database.h index 7d95011..731a5fd 100644 --- a/src/apk_database.h +++ b/src/apk_database.h @@ -118,10 +118,10 @@ struct apk_repository_list { struct apk_db_options { int lock_wait; unsigned long open_flags; - char *root; - char *arch; - char *keys_dir; - char *repositories_file; + const char *root; + const char *arch; + const char *keys_dir; + const char *repositories_file; struct list_head repository_list; }; |