X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/blobdiff_plain/9439cdabec3e4c1d29e4366f9b654ef27eb2c586..8a886602880a1a0b65de4e062d4be178dee4d181:/server/disorder-server.h?ds=sidebyside diff --git a/server/disorder-server.h b/server/disorder-server.h index bc90c9b..7a6b73a 100644 --- a/server/disorder-server.h +++ b/server/disorder-server.h @@ -1,6 +1,6 @@ /* * This file is part of DisOrder - * Copyright (C) 2008-2010 Richard Kettlewell + * Copyright (C) 2008-2012 Richard Kettlewell * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -234,7 +234,8 @@ void add_random_track(ev_source *ev); int server_start(ev_source *ev, int pf, size_t socklen, const struct sockaddr *sa, - const char *name); + const char *name, + int privileged); /* start listening. Return the fd. */ int server_stop(ev_source *ev, int fd); @@ -348,8 +349,6 @@ struct pbgc_params { int argc; /** @brief Player command */ const char **argv; - /** @brief Device to wait for or NULL */ - const char *waitdevice; /** @brief Raw track name */ const char *rawpath; };