#include "config.h"
#endif
-#define _GNU_SOURCE
#include <assert.h>
#include <errno.h>
#include <string.h>
}
struct pb_url *user_event_parse_conf_url(struct discover_context *ctx,
- struct event *event)
+ struct event *event, bool *is_complete)
{
const char *conffile, *host, *bootfile;
char *p, *basedir, *url_str;
talloc_free(url_str);
}
- ctx->conf_url = url;
+ *is_complete = true;
} else {
host = parse_host_addr(event);
if (!host) {
talloc_free(url_str);
talloc_free(basedir);
+ *is_complete = false;
}
return url;