]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - send_common.c
Obtain afs status items directly from afs.
[paraslash.git] / send_common.c
index a2189b030b39074778798da96ce91c5e52785ed3..12d7ee1dadd5d591e185354961b0ca4dbcce1430 100644 (file)
@@ -7,6 +7,7 @@
 /** \file send_common.c Functions used by more than one paraslash sender. */
 
 #include <dirent.h>
+#include <osl.h>
 #include "para.h"
 #include "error.h"
 #include "string.h"
@@ -214,7 +215,7 @@ void init_sender_status(struct sender_status *ss, char **access_arg,
  *
  * \return The string printed in the "si" command.
  */
-char *get_sender_info(struct sender_status *ss, char *name)
+char *get_sender_info(struct sender_status *ss, const char *name)
 {
        char *clnts = NULL, *ret;
        struct sender_client *sc, *tmp_sc;
@@ -443,6 +444,7 @@ out:
 /**
  * Parse a FEC URL string.
  *
+ * \param arg the URL string to parse.
  * \param scd The structure containing host, port and the FEC parameters.
  *
  * \return Standard.