dm_msg.c revision d1d2228c6cf3ec632d28262810ab7902932a5d33
/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (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 2008 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#include <pthread.h>
#include <strings.h>
#include <stdio.h>
#include <stdarg.h>
#include <stdlib.h>
#include <signal.h>
#include <mms_sym.h>
#include <dm_impl.h>
#include <dm_msg.h>
#include <mms_trace.h>
#include <dm_proto.h>
#include <mms_strapp.h>
void
dm_msg_create_hdr(void)
{
}
}
dm_msg_get_hdr(void)
{
tid = pthread_self();
return (mh);
}
}
return (NULL);
}
void
{
mh = dm_msg_get_hdr();
}
}
void
dm_msg_destroy(void)
{
mh = dm_msg_get_hdr();
}
}
char *
{
char *text;
int i;
/* Allocate a message struct */
return (NULL);
}
/* Replace single quotes (') with double quotes (") */
}
}
mh = dm_msg_get_hdr();
if (tail) {
} else {
}
}
char *
{
char *rc;
return (rc);
}
char *
{
char *rc;
return (rc);
}
/*
* Get the first message
*/
char *
dm_msg_text(void)
{
mh = dm_msg_get_hdr();
return (NULL);
}
}
int
dm_msg_class(void)
{
mh = dm_msg_get_hdr();
return (MMS_INTERNAL);
}
}
int
dm_msg_code(void)
{
mh = dm_msg_get_hdr();
return (MMS_DM_E_UNKNOWN);
}
}
char *
dm_msg_prepend(char *fmt, ...)
{
char *newtext;
mh = dm_msg_get_hdr();
}
}