}
static int write_boot_status_message(struct discover_server *server,
- struct client *client, const struct boot_status *status)
+ struct client *client, const struct status *status)
{
struct pb_protocol_message *message;
int len;
case PB_PROTOCOL_ACTION_ADD_URL:
url = pb_protocol_deserialise_string((void *) client, message);
- device_handler_process_url(client->server->device_handler, url);
+ device_handler_process_url(client->server->device_handler,
+ url, NULL, NULL);
break;
default:
struct client *client;
/* accept the incoming connection */
- fd = accept(server->socket, NULL, 0);
+ fd = accept(server->socket, NULL, NULL);
if (fd < 0) {
pb_log("accept: %s\n", strerror(errno));
return 0;
}
void discover_server_notify_boot_status(struct discover_server *server,
- struct boot_status *status)
+ struct status *status)
{
struct client *client;