/*
* 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
*/
/* we need to define this to get strtok_r from string.h */
/* SEEMS LIKE A BUG TO ME */
#define _REENTRANT
#ifndef DEBUG
#endif
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <libgen.h>
#include <assert.h>
#include "spec.h"
#include "expr.h"
#include "new.h"
/*
* Typedefs
*/
typedef enum {
MATCH_NONE = 0,
} match_t;
/*
* Declarations
*/
/* ---------------------------------------------------------------- */
/* ----------------------- Public Functions ----------------------- */
/* ---------------------------------------------------------------- */
/*
* expr() - builds an expr
*/
expr_t *
{
return (new_p);
} /* end expr */
/*
* expr_dup() - duplicates an expression list
*/
expr_t *
{
if (!list_p)
return (NULL);
/* copy the first node */
/* append each additional node */
}
return (head_p);
} /* end expr_dup */
/*
* expr_destroy() - destroys an expression list
*/
void
{
}
} /* end expr_destroy */
/*
* expr_list() - append a expr_t to a list
*/
expr_t *
expr_t * f)
{
/* queue append handles the NULL cases OK */
} /* end expr_list */
/*
* expr_print() - pretty prints an expr list
*/
void
{
}
} /* end expr_print */
/*
* expr_match() - figures out whether a probe matches in an expression list
*/
const char *attrs)
{
return (B_TRUE);
}
return (B_FALSE);
} /* end expr_match */
/* ---------------------------------------------------------------- */
/* ----------------------- Private Functions ---------------------- */
/* ---------------------------------------------------------------- */
typedef struct matchargs {
} matchargs_t;
static boolean_t
const char *attrs)
{
} /* end matchattrs */
/*ARGSUSED*/
static void
char *attrstr,
char *valstr,
void *calldatap)
{
} /* matchvals */
/*ARGSUSED*/
static void
char *valstr,
void *calldatap)
{
} /* end matched */