Lines Matching refs:connection

103 	{ "list       [-l] [-v] [<path> [<connection>]]", "list", cmd_list },
115 { "changestate [-f] [-q] -s <state> <path> <connection>",
157 #define EXIT_ENOENT 2 /* path or connection doesn't exist */
247 char *connection = NULL;
267 parse_target(argc, argv, &path, &connection, usage_str);
274 if ((root = hp_init(path, connection, flags)) == NULL) {
299 char *connection = NULL;
304 parse_target(argc, argv, &path, &connection, usage_str);
306 /* Path and connection are required */
307 if ((path == NULL) || (connection == NULL)) {
314 if ((root = hp_init(path, connection, 0)) == NULL) {
359 char *connection = NULL;
366 parse_target(argc, argv, &path, &connection, usage_str);
368 /* Path and connection are required */
369 if ((path == NULL) || (connection == NULL)) {
376 if ((root = hp_init(path, connection, 0)) == NULL) {
416 char *connection = NULL;
421 parse_target(argc, argv, &path, &connection, usage_str);
423 /* Path and connection are required */
424 if ((path == NULL) || (connection == NULL)) {
431 if ((root = hp_init(path, connection, 0)) == NULL) {
471 char *connection = NULL;
478 parse_target(argc, argv, &path, &connection, usage_str);
480 /* Path and connection are required */
481 if ((path == NULL) || (connection == NULL)) {
488 if ((root = hp_init(path, connection, 0)) == NULL) {
537 char *connection = NULL;
542 parse_target(argc, argv, &path, &connection, usage_str);
544 /* Path and connection are required */
545 if ((path == NULL) || (connection == NULL)) {
552 if ((root = hp_init(path, connection, 0)) == NULL) {
601 char *connection = NULL;
608 parse_target(argc, argv, &path, &connection, usage_str);
610 /* Path and connection are required */
611 if ((path == NULL) || (connection == NULL)) {
618 if ((root = hp_init(path, connection, 0)) == NULL) {
657 char *connection = NULL;
665 parse_target(argc, argv, &path, &connection, usage_str);
667 /* Options, path, and connection are all required */
668 if ((options == NULL) || (path == NULL) || (connection == NULL)) {
675 if ((root = hp_init(path, connection, 0)) == NULL) {
721 char *connection = NULL;
729 parse_target(argc, argv, &path, &connection, usage_str);
731 /* Options, path, and connection are all required */
732 if ((options == NULL) || (path == NULL) || (connection == NULL)) {
739 if ((root = hp_init(path, connection, 0)) == NULL) {
788 char *connection = NULL;
815 parse_target(argc, argv, &path, &connection, usage_str);
817 /* State, path, and connection are all required */
818 if ((state == -1) || (path == NULL) || (connection == NULL)) {
832 if ((root = hp_init(path, connection, 0)) == NULL) {
946 * Parse the target path and connection name from the command line.
1075 char connection[MAXPATHLEN];
1078 if (hp_path(node, path, connection) != 0)
1085 (void) printf(" [%s]", connection);
1090 (void) printf(" <%s>", connection);
1117 static char connection[MAXPATHLEN];
1121 if (hp_path(node, path, connection) == 0)
1215 gettext("ERROR: no such path or connection.\n"));