Lines Matching defs:method
392 static bjnp_protocol_defs_t *get_protocol_by_method( char *method)
397 if (strcmp(method, bjnp_protocol_defs[i].method_string) == 0)
464 split_uri (const char *devname, char *method, char *host, char *port,
477 * retrieve method
487 PDBG (bjnp_dbg (LOG_NOTICE, "split_uri: ERROR - Can not find method in %s (offset %d)\n",
493 strcpy (method, start);
1738 char method[BJNP_METHOD_MAX];
1751 if (split_uri (devname, method, host, port, args) != 0)
1772 if ( (protocol_defs = get_protocol_by_method(method)) == NULL)
1775 (LOG_CRIT, "bjnp_allocate_device: ERROR - URI %s contains invalid method: %s\n",
1776 devname, method));
1948 char method[BJNP_METHOD_MAX];
1955 if (split_uri(uri, method, host, port_str, args ) != 0)
1964 proto_struct = get_protocol_by_method(method);
1967 PDBG (bjnp_dbg (LOG_NOTICE, "uri: %s: Method %s cannot be recognized\n", uri, method));
1982 snprintf(uri, max_len -1, "%s://%s:%d/%s", method,host, port, args);