/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License, Version 1.0 only
* (the "License"). You may not use this file except in compliance
* with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
* Copyright (c) 1994, by Sun Microsytems, Inc.
*/
#pragma ident "%Z%%M% %I% %E% SMI"
/*
* Includes
*/
#ifndef DEBUG
#endif
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#include <libintl.h>
#include "cmd.h"
#include "set.h"
#include "fcn.h"
#include "new.h"
#include "source.h"
/*
* Globals
*/
&g_cmdlist};
/*
* cmd_set() - creates a cmd using a named set and adds it to the global list
*/
cmd_t *
{
if (!set_p) {
return (NULL);
}
return (NULL);
}
#ifdef LATEBINDSETS
#else
#endif
return (new_p);
} /* end cmd_set */
/*
* cmd_expr() - creates a cmd using a set and adds it to the global list
*/
cmd_t *
{
return (NULL);
}
return (new_p);
} /* end cmd */
#if 0
/*
* cmd_destroy()
*/
static void
{
if (!cmd_p)
return;
} /* end cmd_destroy */
#endif
/*
* cmd_list() - pretty prints the global cmdlist
*/
void
cmd_list(void)
{
int i = 0;
char *str_p;
case CMD_ENABLE:
str_p = "enable ";
break;
case CMD_DISABLE:
str_p = "disable";
break;
case CMD_CONNECT:
str_p = "connect";
break;
case CMD_CLEAR:
str_p = "clear ";
break;
case CMD_TRACE:
str_p = "trace ";
break;
case CMD_UNTRACE:
str_p = "untrace";
break;
default:
str_p = "???????";
break;
}
}
}
(void) printf("\n");
}
} /* end cmd_list */
/*
* cmd_traverse() - calls the suppied traversal function on each command.
*/
{
}
}
else
if (err)
return (err);
}
return (err);
} /* end cmd_traverse */
/*
* cmd_traverse() - calls the suppied traversal function on each command.
*/
{
}
}
else
return (err);
}
#ifdef NOTNEEDED
/*
* cmd_mark() - mark all of the commands in the global list as old
*/
void
cmd_mark(void)
{
}
} /* end cmd_mark */
/*
* cmd_delete() -
*/
void
{
int i = 0;
if (cmdnum == i) {
return;
}
i++;
}
} /* end cmd_delete */
#endif