afm-unit: Fix http port multi allocation
[src/app-framework-main.git] / src / wgtpkg-unit.h
index 7330365..fc91204 100644 (file)
@@ -47,7 +47,7 @@ struct unitdesc {
 struct unitconf {
        const char *installdir;
        const char *icondir;
-       int port;
+       int (*port)();
 };
 
 struct generatedesc {