Enforce numeric application IDs
[src/app-framework-main.git] / src / wgtpkg-unit.h
index 7330365..a9c2709 100644 (file)
@@ -1,5 +1,5 @@
 /*
- Copyright (C) 2016, 2017, 2018 IoT.bzh
+ Copyright (C) 2016-2019 IoT.bzh
 
  author: José Bollo <jose.bollo@iot.bzh>
 
@@ -47,7 +47,8 @@ struct unitdesc {
 struct unitconf {
        const char *installdir;
        const char *icondir;
-       int port;
+       int (*new_afid)();
+       int base_http_ports;
 };
 
 struct generatedesc {