summaryrefslogtreecommitdiffstats
path: root/src/afb-config.h
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2017-08-29 11:22:49 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2017-08-29 11:22:49 +0200
commit9bc48026a93e8330a2bd2795e78d5951c16b7d33 (patch)
treee4a182f2ed5c43ebc2007f18fd813e21323e7184 /src/afb-config.h
parent33c28e126df60d8f7c416e762314d9da79f53448 (diff)
Add option --name for naming the process
This option allows to set the command line and the thread name of the main process. The value can contain spaces that will be replaced by nulls. Change-Id: I895270a24663467b16fb3cd8fc3218b7b003b6bb Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'src/afb-config.h')
-rw-r--r--src/afb-config.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/afb-config.h b/src/afb-config.h
index 792a6b8f..f1a27f7a 100644
--- a/src/afb-config.h
+++ b/src/afb-config.h
@@ -35,6 +35,7 @@ struct afb_config {
char *workdir; // where to run the program
char *uploaddir; // where to store transient files
char *token; // initial authentication token [default NULL no session]
+ char *name; /* name to set to the daemon */
struct afb_config_list *aliases;
struct afb_config_list *dbus_clients;