med_local.h revision 7c478bd95313f5f23a4c958a745db2134aa03244
/*
* 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, 2000 by Sun Microsystems, Inc.
* All rights reserved.
*/
#ifndef _MED_LOCAL_H
#define _MED_LOCAL_H
#pragma ident "%Z%%M% %I% %E% SMI"
#include <stdio.h>
#include <stdlib.h>
#include <fcntl.h>
#include <errno.h>
#include <string.h>
#include <unistd.h>
#include <assert.h>
#include <stdarg.h>
#include <ctype.h>
#include <sys/sysmacros.h>
#include <metamed.h>
#ifdef __cplusplus
extern "C" {
#endif
#ifdef _REENTRANT
/*
* millisecond time
*/
typedef ulonglong_t med_msec_t;
#endif /* _REENTRANT */
/*
* extern functions
*/
/* med_error.c */
/*PRINTFLIKE2*/
/*PRINTFLIKE1*/
extern void med_perror(const char *fmt, ...);
/*PRINTFLIKE1*/
extern void med_eprintf(const char *fmt, ...);
/* med_init.c */
extern char *mynode(void);
/* med_mem.c */
extern char *Strdup(char *p);
extern void Free(void *p);
/* meta_metad.c */
#ifdef _REENTRANT
/* med_synch.c */
med_msec_t to);
#endif /* _REENTRANT */
/* med_db.c */
#ifdef __cplusplus
}
#endif
#endif /* _MED_LOCAL_H */