Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

analy_names.h

Go to the documentation of this file.
00001 /* 
00002  *      HT Editor
00003  *      analy_names.h
00004  *
00005  *      Copyright (C) 1999-2002 Sebastian Biallas (sb@web-productions.de)
00006  *
00007  *      This program is free software; you can redistribute it and/or modify
00008  *      it under the terms of the GNU General Public License version 2 as
00009  *      published by the Free Software Foundation.
00010  *
00011  *      This program is distributed in the hope that it will be useful,
00012  *      but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  *      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014  *      GNU General Public License for more details.
00015  *
00016  *      You should have received a copy of the GNU General Public License
00017  *      along with this program; if not, write to the Free Software
00018  *      Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
00019  */
00020 
00021 #ifndef ANALY_NAMES_H
00022 #define ANALY_NAMES_H
00023 
00024 char *import_func_name(const char *dllname, const char *funcname, int ordinal);
00025 char *export_func_name(const char *funcname, int ordinal);
00026 char *label_type(int lt);
00027 char *label_type_short(int lt);
00028 char *xref_type(int xt);
00029 char xref_type_short(int xt);
00030 
00031 #define LPRFX_LOC ((char *)1)
00032 #define LPRFX_SUB ((char *)2)
00033 #define LPRFX_STUB ((char *)3)
00034 #define LPRFX_WRAP ((char *)4)
00035 #define LPRFX_OFS ((char *)5)
00036 #define LPRFX_DTA ((char *)6)
00037 #define LPRFX_DTU ((char *)7)
00038 #define LPRFX_STR ((char *)8)
00039 #define LPRFX_MAX ((char *)9)
00040 
00041 char *label_prefix(const char *p);
00042 
00043 bool valid_name(const char *str);
00044 void make_valid_name(char *result, const char *str);
00045 
00046 /*
00047  *      generated names
00048  */
00049 #define M_PREFIX_DUP ' '
00050 #define M_PREFIX_DUPs " "
00051 #define M_PREFIX_REF '*'
00052 #define M_PREFIX_REFs "*"
00053 #define M_PREFIX_LABEL 'l'
00054 #define M_PREFIX_LABELs "l"
00055 #define QUOTED_STRING(s) M_PREFIX_DUPs##s
00056 #define REF_STRING(s) M_PREFIX_REFs##s
00057 
00058 char *addr_label();
00059 char *real_name(char *s);
00060 char *quote_string(char *s);
00061 char *reference_string(char *s);
00062 char *comment_lookup(int special);
00063 
00064 #endif

Generated on Fri May 7 21:15:28 2004 by doxygen 1.3.5