X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/blobdiff_plain/feda7bfaefd9e5fb705d6893f26428a3109e7226..c54fec77e8e079bbcd6dc522c979e82e78e4f582:/server/disorder-server.h diff --git a/server/disorder-server.h b/server/disorder-server.h index bc90c9b..78b8cfa 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 @@ -33,7 +33,6 @@ #include #include #include -#include #include #include #include @@ -234,12 +233,16 @@ 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); /* Stop listening on @fd@ */ +void rtp_request(const struct sockaddr_storage *sa); +void rtp_request_cancel(const struct sockaddr_storage *sa); + extern int volume_left, volume_right; /* last known volume */ extern int wideopen; /* blindly accept all logins */ @@ -348,8 +351,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; };