+void cs_get_host_args(const char *type_and_host, const char **args)
+{
+
+ *args = "";
+ if (*type_and_host && strncmp(type_and_host, "unix:", 5))
+ {
+ const char *cp;
+ cp = strstr(type_and_host, "://");
+ if (cp)
+ cp = cp+3;
+ else
+ cp = type_and_host;
+ cp = strchr(cp, '/');
+ if (cp)
+ *args = cp+1;
+ }
+}
+