--- a/application/application.h Sun Jan 28 20:47:40 2024 +0100 +++ b/application/application.h Mon Jan 29 10:41:00 2024 +0100 @@ -26,6 +26,9 @@ * POSSIBILITY OF SUCH DAMAGE. */ +#ifndef IDAV_APPLICATION_H +#define IDAV_APPLICATION_H + #include <ui/ui.h> #include <stdio.h> @@ -34,6 +37,10 @@ #include <libidav/webdav.h> #include <libidav/config.h> +#ifdef __cplusplus +extern "C" { +#endif + typedef struct DavApp { DavConfig *dav_config; @@ -56,3 +63,11 @@ DavApp* application_create_app_document(void); + +void application_update_repolist(DavApp *app); + +#ifdef __cplusplus +} +#endif + +#endif /* IDAV_APPLICATION_H */