Get rid of afd->path.
[paraslash.git] / server.h
index 7b2f3590dd9bff3e41a9a4f4543180aca1982304..a83aaae29aa59362f9665c08c1abcb899cbfdb6c 100644 (file)
--- a/server.h
+++ b/server.h
@@ -61,12 +61,8 @@ struct sender_command_data{
 struct misc_meta_data {
        /** the size of the current audio file in bytes */
        size_t size;
-       /** the full path of the current audio file */
-       char filename[_POSIX_PATH_MAX];
-       /** the last modification file of the current audio file */
+       /** the last modification time of the current audio file */
        time_t mtime;
-       /** the number of the current audio format */
-       int audio_format;
        /** the "old" status flags -- commands may only read them */
        unsigned int vss_status_flags;
        /** The new status flags -- commands may set them. */
@@ -98,10 +94,8 @@ struct misc_meta_data {
        unsigned int active_connections;
        /** the process id of para_server */
        pid_t server_pid;
-       /** a string that gets filled in by the current audio file selector */
+       /** This gets updated by afs and contains its current mode. */
        char afs_mode_string[MAXLINE];
-       /** commands set this to non-zero to change the current selector */
-       int selector_change;
        /** used by the sender command */
        struct sender_command_data sender_cmd_data;
        /** Describes the current audio file. */