* put QP Decoder intoo its own file
[citadel.git] / webcit / serv_func.c
index 29b0481760d082ffbeb76707b7e866d2e2c37613..aa43d350b84cab3a39fa8947b7e150d53e047e9d 100644 (file)
@@ -423,5 +423,11 @@ int read_server_text(StrBuf *Buf, long *nLines)
 }
 
 
+int GetServerStatus(StrBuf *Line, long* FullState)
+{
+       if (FullState != NULL)
+               *FullState = StrTol(Line);
+       return ChrPtr(Line)[0] - 48;
+}
 
 /*@}*/