server: Move afs_pid out of mmd struct.
[paraslash.git] / server.h
index 23feadd1eee4016da4cdb124dff807137d166df2..1852dd50962b78a72d270bb1d20e61eb0d9911c4 100644 (file)
--- a/server.h
+++ b/server.h
@@ -73,8 +73,6 @@ struct misc_meta_data {
        unsigned int num_connects;
        /** The number of connections currently active. */
        unsigned int active_connections;
-       /** The process id of the audio file selector. */
-       pid_t afs_pid;
        /** This gets updated by afs and contains its current mode. */
        char afs_mode_string[MAXLINE];
        /** Used by the sender command. */
@@ -83,6 +81,7 @@ struct misc_meta_data {
        struct audio_file_data afd;
 };
 
+extern pid_t afs_pid;
 extern struct lls_parse_result *server_lpr;
 
 /**