X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/feda7bfaefd9e5fb705d6893f26428a3109e7226..f4604d0d467ae510f8167d3109e6fd05f57f1cde:/server/disorder-server.h 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; };