/*
* 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 2006 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#pragma ident "%Z%%M% %I% %E% SMI"
/*LINTLIBRARY*/
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <papi_impl.h>
char *value)
{
return (result);
}
char **values)
{
i++, flgs = PAPI_ATTR_APPEND)
values[i]);
return (result);
}
void
char **string)
{
}
}
void
char ***strings)
{
}
}
char *
{
result += 1;
} else
result = "";
}
}
return (result);
}
/*
* LP content type <-> MIME type conversion table. (order dependent)
*/
static struct {
char *mime_type;
char *lp_type;
} type_map[] = {
{ "application/octet-stream", "raw" },
{ "application/octet-stream", "any" },
{ "application/postscript", "postscript" },
{ "application/postscript", "ps" },
{ "application/x-cif", "cif" },
{ "application/x-dvi", "dvi" },
{ "application/x-plot", "plot" },
{ "application/x-ditroff", "troff" },
{ "application/x-troff", "otroff" },
{ "application/x-pr", "pr" },
{ "application/x-fortran", "fortran" },
{ "application/x-raster", "raster" },
};
char *
{
int i;
return ("simple");
return (mime_type);
}
char *
{
int i;
return (lp_type);
}