8322 nl: misleading-indentation
[unleashed/tickless.git] / usr / src / cmd / sgs / libelf / misc / String.h
blobeaf0f740123d72a65b822580b63017b3af99088a
1 /*
2 * CDDL HEADER START
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License, Version 1.0 only
6 * (the "License"). You may not use this file except in compliance
7 * with the License.
9 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 * or http://www.opensolaris.org/os/licensing.
11 * See the License for the specific language governing permissions
12 * and limitations under the License.
14 * When distributing Covered Code, include this CDDL HEADER in each
15 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 * If applicable, add the following below this CDDL HEADER, with the
17 * fields enclosed by brackets "[]" replaced with your own identifying
18 * information: Portions Copyright [yyyy] [name of copyright owner]
20 * CDDL HEADER END
22 /* Copyright (c) 1988 AT&T */
23 /* All Rights Reserved */
26 #pragma ident "%Z%%M% %I% %E% SMI" /* SVr4.0 1.1 */
29 * C++ Demangler Source Code
30 * @(#)master 1.5
31 * 7/27/88 13:54:37
33 #define STRING_START 32
34 #define PTR(S) ((S)->data + (S)->sg.start)
36 typedef struct {
37 int start,end,max;
38 } StringGuts;
40 typedef struct {
41 StringGuts sg;
42 char data[1];
43 } String;
45 extern String *prep_String();
46 extern String *nprep_String();
47 extern String *app_String();
48 extern String *napp_String();
49 extern String *mk_String();
50 extern void free_String();
51 extern String *set_String();
52 extern String *trunc_String();
53 extern const char *findop();