| 1 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 |
<html xmlns="http://www.w3.org/1999/xhtml"> |
| 3 |
<head> |
| 4 |
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> |
| 5 |
<title>libmangle: src/m_ms.c File Reference</title> |
| 6 |
<link href="tabs.css" rel="stylesheet" type="text/css"/> |
| 7 |
<link href="doxygen.css" rel="stylesheet" type="text/css"/> |
| 8 |
</head> |
| 9 |
<body> |
| 10 |
|
| 11 |
<div class="navigation" id="top"> |
| 12 |
<div class="tabs"> |
| 13 |
<ul> |
| 14 |
<li><a href="index.html"><span>Main Page</span></a></li> |
| 15 |
<li><a href="annotated.html"><span>Data Structures</span></a></li> |
| 16 |
<li class="current"><a href="files.html"><span>Files</span></a></li> |
| 17 |
</ul> |
| 18 |
</div> |
| 19 |
<div class="tabs"> |
| 20 |
<ul> |
| 21 |
<li><a href="files.html"><span>File List</span></a></li> |
| 22 |
<li><a href="globals.html"><span>Globals</span></a></li> |
| 23 |
</ul> |
| 24 |
</div> |
| 25 |
</div> |
| 26 |
<div class="contents"> |
| 27 |
<h1>src/m_ms.c File Reference</h1><code>#include <stdio.h></code><br/> |
| 28 |
<code>#include <stdlib.h></code><br/> |
| 29 |
<code>#include <malloc.h></code><br/> |
| 30 |
<code>#include <string.h></code><br/> |
| 31 |
<code>#include <inttypes.h></code><br/> |
| 32 |
<code>#include <stdint.h></code><br/> |
| 33 |
<code>#include "<a class="el" href="m__token_8h_source.html">m_token.h</a>"</code><br/> |
| 34 |
<code>#include "<a class="el" href="m__ms_8h_source.html">m_ms.h</a>"</code><br/> |
| 35 |
<table border="0" cellpadding="0" cellspacing="0"> |
| 36 |
<tr><td colspan="2"><h2>Functions</h2></td></tr> |
| 37 |
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="unionu_m_token.html">uMToken</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="m__ms_8c.html#a53be44f77ef7b80bfc16250da927a99e">libmangle_decode_ms_name</a> (<a class="el" href="structlibmangle__gc__context__t.html">libmangle_gc_context_t</a> *gc, const char *name)</td></tr> |
| 38 |
<tr><td class="memItemLeft" align="right" valign="top">char * </td><td class="memItemRight" valign="bottom"><a class="el" href="m__ms_8c.html#a0872a8e6f16a49ccfc3e8663ed003354">libmangle_encode_ms_name</a> (<a class="el" href="structlibmangle__gc__context__t.html">libmangle_gc_context_t</a> *gc, <a class="el" href="unionu_m_token.html">uMToken</a> *tok)</td></tr> |
| 39 |
</table> |
| 40 |
<hr/><h2>Function Documentation</h2> |
| 41 |
<a class="anchor" id="a53be44f77ef7b80bfc16250da927a99e"></a> |
| 42 |
<div class="memitem"> |
| 43 |
<div class="memproto"> |
| 44 |
<table class="memname"> |
| 45 |
<tr> |
| 46 |
<td class="memname"><a class="el" href="unionu_m_token.html">uMToken</a>* libmangle_decode_ms_name </td> |
| 47 |
<td>(</td> |
| 48 |
<td class="paramtype"><a class="el" href="structlibmangle__gc__context__t.html">libmangle_gc_context_t</a> * </td> |
| 49 |
<td class="paramname"> <em>gc</em>, </td> |
| 50 |
</tr> |
| 51 |
<tr> |
| 52 |
<td class="paramkey"></td> |
| 53 |
<td></td> |
| 54 |
<td class="paramtype">const char * </td> |
| 55 |
<td class="paramname"> <em>name</em></td><td> </td> |
| 56 |
</tr> |
| 57 |
<tr> |
| 58 |
<td></td> |
| 59 |
<td>)</td> |
| 60 |
<td></td><td></td><td></td> |
| 61 |
</tr> |
| 62 |
</table> |
| 63 |
</div> |
| 64 |
<div class="memdoc"> |
| 65 |
<p>Decodes an MSVC export name. </p> |
| 66 |
<dl><dt><b>Parameters:</b></dt><dd> |
| 67 |
<table border="0" cellspacing="2" cellpadding="0"> |
| 68 |
<tr><td valign="top"><tt>[in]</tt> </td><td valign="top"><em>gc</em> </td><td><a class="el" href="structlibmangle__gc__context__t.html">libmangle_gc_context_t</a> pointer for collecting memory allocations. </td></tr> |
| 69 |
<tr><td valign="top"><tt>[in]</tt> </td><td valign="top"><em>name</em> </td><td>MSVC C++ mangled export string. </td></tr> |
| 70 |
</table> |
| 71 |
</dd> |
| 72 |
</dl> |
| 73 |
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="libmangle_8h.html#abf4af1b2e483a32beb147474853e696b">libmangle_sprint_decl()</a> </dd> |
| 74 |
<dd> |
| 75 |
<a class="el" href="libmangle_8h.html#ac6f10b5d722b67adc42b2efaf4683dc1">libmangle_release_gc()</a> </dd> |
| 76 |
<dd> |
| 77 |
<a class="el" href="libmangle_8h.html#a7c9c7d368eb1f52cac14457766a01cc7">libmangle_tokens_t</a> </dd></dl> |
| 78 |
<dl class="return"><dt><b>Returns:</b></dt><dd>Token containing information about the mangled string, use <a class="el" href="libmangle_8h.html#ac6f10b5d722b67adc42b2efaf4683dc1">libmangle_release_gc()</a> to free after use. </dd></dl> |
| 79 |
|
| 80 |
</div> |
| 81 |
</div> |
| 82 |
<a class="anchor" id="a0872a8e6f16a49ccfc3e8663ed003354"></a> |
| 83 |
<div class="memitem"> |
| 84 |
<div class="memproto"> |
| 85 |
<table class="memname"> |
| 86 |
<tr> |
| 87 |
<td class="memname">char* libmangle_encode_ms_name </td> |
| 88 |
<td>(</td> |
| 89 |
<td class="paramtype"><a class="el" href="structlibmangle__gc__context__t.html">libmangle_gc_context_t</a> * </td> |
| 90 |
<td class="paramname"> <em>gc</em>, </td> |
| 91 |
</tr> |
| 92 |
<tr> |
| 93 |
<td class="paramkey"></td> |
| 94 |
<td></td> |
| 95 |
<td class="paramtype"><a class="el" href="unionu_m_token.html">uMToken</a> * </td> |
| 96 |
<td class="paramname"> <em>tok</em></td><td> </td> |
| 97 |
</tr> |
| 98 |
<tr> |
| 99 |
<td></td> |
| 100 |
<td>)</td> |
| 101 |
<td></td><td></td><td></td> |
| 102 |
</tr> |
| 103 |
</table> |
| 104 |
</div> |
| 105 |
<div class="memdoc"> |
| 106 |
|
| 107 |
</div> |
| 108 |
</div> |
| 109 |
</div> |
| 110 |
<hr size="1"/><address style="text-align: right;"><small>Generated on 23 Jul 2010 for libmangle by |
| 111 |
<a href="http://www.doxygen.org/index.html"> |
| 112 |
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address> |
| 113 |
</body> |
| 114 |
</html> |