Codebase list ohcount / e0259188-7180-4bbc-a711-b2cd8983feeb/main doc / html / languages_8h_source.html
e0259188-7180-4bbc-a711-b2cd8983feeb/main

Tree @e0259188-7180-4bbc-a711-b2cd8983feeb/main (Download .tar.gz)

languages_8h_source.html @e0259188-7180-4bbc-a711-b2cd8983feeb/mainraw · history · blame

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>ohcount: /Users/andy/dev/ohcount/src/languages.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css">
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.9 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="files.html"><span>File&nbsp;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
<h1>/Users/andy/dev/ohcount/src/languages.h</h1><a href="languages_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">// languages.h written by Mitchell Foral. mitchell&lt;att&gt;caladbolg.net.</span>
<a name="l00002"></a>00002 <span class="comment">// See COPYING for license information.</span>
<a name="l00003"></a>00003 
<a name="l00004"></a>00004 <span class="preprocessor">#ifndef OHCOUNT_LANGUAGES_H</span>
<a name="l00005"></a>00005 <span class="preprocessor"></span><span class="preprocessor">#define OHCOUNT_LANGUAGES_H</span>
<a name="l00006"></a>00006 <span class="preprocessor"></span>
<a name="l00007"></a>00007 <span class="preprocessor">#include &lt;string.h&gt;</span>
<a name="l00008"></a>00008 
<a name="l00009"></a><a class="code" href="languages_8h.html#091d38b6de14e22347a037c84ed438a9">00009</a> <span class="preprocessor">#define LANG_ACTIONSCRIPT "actionscript"</span>
<a name="l00010"></a><a class="code" href="languages_8h.html#478e104c7010b6e46913528ae0fad2b8">00010</a> <span class="preprocessor"></span><span class="preprocessor">#define LANG_ADA "ada"</span>
<a name="l00011"></a><a class="code" href="languages_8h.html#3b91b45f4b67ecb39c2e5763efa3a50d">00011</a> <span class="preprocessor"></span><span class="preprocessor">#define LANG_ASSEMBLER "assembler"</span>
<a name="l00012"></a><a class="code" href="languages_8h.html#db735418bace40778fb293d11c8b5d67">00012</a> <span class="preprocessor"></span><span class="preprocessor">#define LANG_AUTOCONF "autoconf"</span>
<a name="l00013"></a><a class="code" href="languages_8h.html#d3b1bb35c08dcb688f0386568d2571d3">00013</a> <span class="preprocessor"></span><span class="preprocessor">#define LANG_AUTOMAKE "automake"</span>
<a name="l00014"></a><a class="code" href="languages_8h.html#231466a7f973ff2ebd78da11cd0ad0e7">00014</a> <span class="preprocessor"></span><span class="preprocessor">#define LANG_AWK "awk"</span>
<a name="l00015"></a><a class="code" href="languages_8h.html#25fc7a91389cb6e48fcf7e2405929436">00015</a> <span class="preprocessor"></span><span class="preprocessor">#define LANG_BAT "bat"</span>
<a name="l00016"></a><a class="code" href="languages_8h.html#bcec8b01ad8650ec5f74ec441c41e3ef">00016</a> <span class="preprocessor"></span><span class="preprocessor">#define LANG_BLITZMAX "blitzmax"</span>
<a name="l00017"></a><a class="code" href="languages_8h.html#569f5332ca1a8a3bf1cb87d1e104da8b">00017</a> <span class="preprocessor"></span><span class="preprocessor">#define LANG_BOO "boo"</span>
<a name="l00018"></a><a class="code" href="languages_8h.html#69f1d54d0578e6b3400b774500973439">00018</a> <span class="preprocessor"></span><span class="preprocessor">#define LANG_C "c"</span>
<a name="l00019"></a><a class="code" href="languages_8h.html#ac05b629fdb4b14e9d68fe7d1579845e">00019</a> <span class="preprocessor"></span><span class="preprocessor">#define LANG_CLASSIC_BASIC "classic_basic"</span>
<a name="l00020"></a><a class="code" href="languages_8h.html#775b888262c139f57568cca3354004d0">00020</a> <span class="preprocessor"></span><span class="preprocessor">#define LANG_CLEARSILVER "clearsilver"</span>
<a name="l00021"></a><a class="code" href="languages_8h.html#2ee159694ff961717e2a8904b8a9a26c">00021</a> <span class="preprocessor"></span><span class="preprocessor">#define LANG_CLEARSILVER_TEMPLATE "clearsilver_template"</span>
<a name="l00022"></a><a class="code" href="languages_8h.html#4ae58340c099683b2658037060d492c2">00022</a> <span class="preprocessor"></span><span class="preprocessor">#define LANG_CMAKE "cmake"</span>
<a name="l00023"></a><a class="code" href="languages_8h.html#9f485ecfa4e44c1d740061050827e1bb">00023</a> <span class="preprocessor"></span><span class="preprocessor">#define LANG_CPP "cpp"</span>
<a name="l00024"></a><a class="code" href="languages_8h.html#fa9962371701f73dd0da3b21b3cf8c7b">00024</a> <span class="preprocessor"></span><span class="preprocessor">#define LANG_CS_ASPX "cs_aspx"</span>
<a name="l00025"></a><a class="code" href="languages_8h.html#4e05f782dbdd60dd636977abca844e9f">00025</a> <span class="preprocessor"></span><span class="preprocessor">#define LANG_CSHARP "csharp"</span>
<a name="l00026"></a><a class="code" href="languages_8h.html#c450c855ac136dba88fea7f8232c8fb2">00026</a> <span class="preprocessor"></span><span class="preprocessor">#define LANG_CSS "css"</span>
<a name="l00027"></a><a class="code" href="languages_8h.html#908a958126b51fd638256a2bf32fe78a">00027</a> <span class="preprocessor"></span><span class="preprocessor">#define LANG_DCL "dcl"</span>
<a name="l00028"></a><a class="code" href="languages_8h.html#3766f7f57bb82eb4f8b07721fa0a6b2c">00028</a> <span class="preprocessor"></span><span class="preprocessor">#define LANG_DMD "dmd"</span>
<a name="l00029"></a><a class="code" href="languages_8h.html#53f306f87ae5564bc31a9247156afd1e">00029</a> <span class="preprocessor"></span><span class="preprocessor">#define LANG_DYLAN "dylan"</span>
<a name="l00030"></a><a class="code" href="languages_8h.html#252868fb5b19aec0df6fa2bcb8f62fd7">00030</a> <span class="preprocessor"></span><span class="preprocessor">#define LANG_EBUILD "ebuild"</span>
<a name="l00031"></a><a class="code" href="languages_8h.html#063637f7e20b32ff2ddd0a02fa0c512a">00031</a> <span class="preprocessor"></span><span class="preprocessor">#define LANG_EIFFEL "eiffel"</span>
<a name="l00032"></a><a class="code" href="languages_8h.html#79bcf52d445bf1314e5235798a7d305c">00032</a> <span class="preprocessor"></span><span class="preprocessor">#define LANG_ERLANG "erlang"</span>
<a name="l00033"></a><a class="code" href="languages_8h.html#2aebca1818b3e43a2f9927c0edcd8f30">00033</a> <span class="preprocessor"></span><span class="preprocessor">#define LANG_EXHERES "exheres"</span>
<a name="l00034"></a><a class="code" href="languages_8h.html#049448bd9f8e6d36c76231e81d947379">00034</a> <span class="preprocessor"></span><span class="preprocessor">#define LANG_EMACSLISP "emacslisp"</span>
<a name="l00035"></a><a class="code" href="languages_8h.html#d365e9faf57b7cc28ef785ab8271d65f">00035</a> <span class="preprocessor"></span><span class="preprocessor">#define LANG_FACTOR "factor"</span>
<a name="l00036"></a><a class="code" href="languages_8h.html#9a939bb8d1416c4f13e7df1da2b466c0">00036</a> <span class="preprocessor"></span><span class="preprocessor">#define LANG_FORTRANFIXED "fortranfixed"</span>
<a name="l00037"></a><a class="code" href="languages_8h.html#4e530af173cececd63bf18904ae49323">00037</a> <span class="preprocessor"></span><span class="preprocessor">#define LANG_FORTRANFREE "fortranfree"</span>
<a name="l00038"></a><a class="code" href="languages_8h.html#b1819c2285abe0fb4b90d3ab09a5cf36">00038</a> <span class="preprocessor"></span><span class="preprocessor">#define LANG_GLSL "glsl"</span>
<a name="l00039"></a><a class="code" href="languages_8h.html#977454b230e76477ef10a1c2a65cf5e3">00039</a> <span class="preprocessor"></span><span class="preprocessor">#define LANG_GROOVY "groovy"</span>
<a name="l00040"></a><a class="code" href="languages_8h.html#b47be2491236de13e39e70b725f0a39c">00040</a> <span class="preprocessor"></span><span class="preprocessor">#define LANG_HASKELL "haskell"</span>
<a name="l00041"></a><a class="code" href="languages_8h.html#0cc426484419fa76955272f2c2b45cf1">00041</a> <span class="preprocessor"></span><span class="preprocessor">#define LANG_HAML "haml"</span>
<a name="l00042"></a><a class="code" href="languages_8h.html#02c389ee32768311321314c6564c43e0">00042</a> <span class="preprocessor"></span><span class="preprocessor">#define LANG_HAXE "haxe"</span>
<a name="l00043"></a><a class="code" href="languages_8h.html#2b4e40268aabb387f3e3e94622b7f56b">00043</a> <span class="preprocessor"></span><span class="preprocessor">#define LANG_HTML "html"</span>
<a name="l00044"></a><a class="code" href="languages_8h.html#61f8e7691fe8dfa81b174e6965e4c2b6">00044</a> <span class="preprocessor"></span><span class="preprocessor">#define LANG_IDL_PVWAVE "idl_pvwave"</span>
<a name="l00045"></a><a class="code" href="languages_8h.html#9555a3ce45c62aa66591517f7e00137a">00045</a> <span class="preprocessor"></span><span class="preprocessor">#define LANG_JAVA "java"</span>
<a name="l00046"></a><a class="code" href="languages_8h.html#263503db3cb973d7142962c21052f7f2">00046</a> <span class="preprocessor"></span><span class="preprocessor">#define LANG_JAVASCRIPT "javascript"</span>
<a name="l00047"></a><a class="code" href="languages_8h.html#598d79d258f7d47962a7fcdbec951482">00047</a> <span class="preprocessor"></span><span class="preprocessor">#define LANG_JSP "jsp"</span>
<a name="l00048"></a><a class="code" href="languages_8h.html#f82902cd71228557e51d33db0b230452">00048</a> <span class="preprocessor"></span><span class="preprocessor">#define LANG_LIMBO "limbo"</span>
<a name="l00049"></a><a class="code" href="languages_8h.html#51dec0044828f1dead1bb8a3efea372b">00049</a> <span class="preprocessor"></span><span class="preprocessor">#define LANG_LISP "lisp"</span>
<a name="l00050"></a><a class="code" href="languages_8h.html#e8a7ff0e7f8637c196a0c3626eef8276">00050</a> <span class="preprocessor"></span><span class="preprocessor">#define LANG_LUA "lua"</span>
<a name="l00051"></a><a class="code" href="languages_8h.html#eb6b85c30a8b86f71cb862091070cbfe">00051</a> <span class="preprocessor"></span><span class="preprocessor">#define LANG_MAKE "make"</span>
<a name="l00052"></a><a class="code" href="languages_8h.html#f27fa35e0f932a20c8edee54c3b3032e">00052</a> <span class="preprocessor"></span><span class="preprocessor">#define LANG_MATLAB "matlab"</span>
<a name="l00053"></a><a class="code" href="languages_8h.html#2c9efcff7f0fbbaf10d8cd595e659554">00053</a> <span class="preprocessor"></span><span class="preprocessor">#define LANG_METAFONT "metafont"</span>
<a name="l00054"></a><a class="code" href="languages_8h.html#4c7b3483c53e01817344d4031f373bc8">00054</a> <span class="preprocessor"></span><span class="preprocessor">#define LANG_METAPOST "metapost"</span>
<a name="l00055"></a><a class="code" href="languages_8h.html#38774d109ac66b62d914e0e5d33ec3df">00055</a> <span class="preprocessor"></span><span class="preprocessor">#define LANG_METAPOST_WITH_TEX "metapost_with_tex"</span>
<a name="l00056"></a><a class="code" href="languages_8h.html#b931ef860450de2a69879e74274876fd">00056</a> <span class="preprocessor"></span><span class="preprocessor">#define LANG_MXML "mxml"</span>
<a name="l00057"></a><a class="code" href="languages_8h.html#8bbc6f40e6da8b6c67e28b9cb5e9913f">00057</a> <span class="preprocessor"></span><span class="preprocessor">#define LANG_NIX "nix"</span>
<a name="l00058"></a><a class="code" href="languages_8h.html#b7b809316c113c635b37d258d9604692">00058</a> <span class="preprocessor"></span><span class="preprocessor">#define LANG_OBJECTIVE_C "objective_c"</span>
<a name="l00059"></a><a class="code" href="languages_8h.html#461e78115deb961def200ca3413e3d45">00059</a> <span class="preprocessor"></span><span class="preprocessor">#define LANG_OBJECTIVE_J "objective_j"</span>
<a name="l00060"></a><a class="code" href="languages_8h.html#0e148bda1a1a11b86c1ab45f8b3b809d">00060</a> <span class="preprocessor"></span><span class="preprocessor">#define LANG_OCAML "ocaml"</span>
<a name="l00061"></a><a class="code" href="languages_8h.html#d222a14fcaa019a58f4584359ac8c27a">00061</a> <span class="preprocessor"></span><span class="preprocessor">#define LANG_OCTAVE "octave"</span>
<a name="l00062"></a><a class="code" href="languages_8h.html#bc842e7afbddde9ceed0d7876dcab230">00062</a> <span class="preprocessor"></span><span class="preprocessor">#define LANG_PASCAL "pascal"</span>
<a name="l00063"></a><a class="code" href="languages_8h.html#180fab988fbe1eacf542f27dc106472b">00063</a> <span class="preprocessor"></span><span class="preprocessor">#define LANG_PERL "perl"</span>
<a name="l00064"></a><a class="code" href="languages_8h.html#86bf568eb0e8745d3a4b23fc9929da62">00064</a> <span class="preprocessor"></span><span class="preprocessor">#define LANG_PHP "php"</span>
<a name="l00065"></a><a class="code" href="languages_8h.html#f8a3d7ddef464657f458b461eb00d79e">00065</a> <span class="preprocessor"></span><span class="preprocessor">#define LANG_PIKE "pike"</span>
<a name="l00066"></a><a class="code" href="languages_8h.html#9af59dc9f0850b4239025ea3107a17ab">00066</a> <span class="preprocessor"></span><span class="preprocessor">#define LANG_PYTHON "python"</span>
<a name="l00067"></a><a class="code" href="languages_8h.html#2cf0b56799d4c3e1bd9c9021a2f1e5c5">00067</a> <span class="preprocessor"></span><span class="preprocessor">#define LANG_R "r"</span>
<a name="l00068"></a><a class="code" href="languages_8h.html#2675fe0be7199b4fedc48a9400514632">00068</a> <span class="preprocessor"></span><span class="preprocessor">#define LANG_REXX "rexx"</span>
<a name="l00069"></a><a class="code" href="languages_8h.html#4b740e02f53e68deb4ae3be8844598fa">00069</a> <span class="preprocessor"></span><span class="preprocessor">#define LANG_RHTML "rhtml"</span>
<a name="l00070"></a><a class="code" href="languages_8h.html#22dffbbb8ff71d6d2bacfca342bcddf7">00070</a> <span class="preprocessor"></span><span class="preprocessor">#define LANG_RUBY "ruby"</span>
<a name="l00071"></a><a class="code" href="languages_8h.html#66cb495c1baeaeae4eaa29fc6683153f">00071</a> <span class="preprocessor"></span><span class="preprocessor">#define LANG_SCALA "scala"</span>
<a name="l00072"></a><a class="code" href="languages_8h.html#c77bd2bcfcad5035cefce35e553adfa9">00072</a> <span class="preprocessor"></span><span class="preprocessor">#define LANG_SCHEME "scheme"</span>
<a name="l00073"></a><a class="code" href="languages_8h.html#1afb452d94b78ce1aff9398e699888e3">00073</a> <span class="preprocessor"></span><span class="preprocessor">#define LANG_SCILAB "scilab"</span>
<a name="l00074"></a><a class="code" href="languages_8h.html#b708cdbf88c0fe504d6e2e120e5cc4da">00074</a> <span class="preprocessor"></span><span class="preprocessor">#define LANG_SHELL "shell"</span>
<a name="l00075"></a><a class="code" href="languages_8h.html#f7437af42bb93b1bf1d3178a798ac90f">00075</a> <span class="preprocessor"></span><span class="preprocessor">#define LANG_SMALLTALK "smalltalk"</span>
<a name="l00076"></a><a class="code" href="languages_8h.html#5461bbc7b9562917438ebd182451c185">00076</a> <span class="preprocessor"></span><span class="preprocessor">#define LANG_STRATEGO "stratego"</span>
<a name="l00077"></a><a class="code" href="languages_8h.html#6eeca0d1980e71514f0a600ed4cc42ee">00077</a> <span class="preprocessor"></span><span class="preprocessor">#define LANG_STRUCTURED_BASIC "structured_basic"</span>
<a name="l00078"></a><a class="code" href="languages_8h.html#e71abe56e810a1c752253dc8fa0e4237">00078</a> <span class="preprocessor"></span><span class="preprocessor">#define LANG_SQL "sql"</span>
<a name="l00079"></a><a class="code" href="languages_8h.html#919e51b8afa14bfec8713747287693c4">00079</a> <span class="preprocessor"></span><span class="preprocessor">#define LANG_TCL "tcl"</span>
<a name="l00080"></a><a class="code" href="languages_8h.html#bb311c1cca50c6c3ded6e9eeb57001a5">00080</a> <span class="preprocessor"></span><span class="preprocessor">#define LANG_TEX "tex"</span>
<a name="l00081"></a><a class="code" href="languages_8h.html#14ec0cd9862c95ceb909799ff7a9641d">00081</a> <span class="preprocessor"></span><span class="preprocessor">#define LANG_VALA "vala"</span>
<a name="l00082"></a><a class="code" href="languages_8h.html#c7136ebe63702891ec21e5357672f63e">00082</a> <span class="preprocessor"></span><span class="preprocessor">#define LANG_VB_ASPX "vb_aspx"</span>
<a name="l00083"></a><a class="code" href="languages_8h.html#af91119743ffa386a957ad62297a77a3">00083</a> <span class="preprocessor"></span><span class="preprocessor">#define LANG_VHDL "vhdl"</span>
<a name="l00084"></a><a class="code" href="languages_8h.html#2ffdff409296d5e8fa0da1f074efd756">00084</a> <span class="preprocessor"></span><span class="preprocessor">#define LANG_VIM "vim"</span>
<a name="l00085"></a><a class="code" href="languages_8h.html#9d9a554144729957506e9796c132d9f9">00085</a> <span class="preprocessor"></span><span class="preprocessor">#define LANG_VISUALBASIC "visualbasic"</span>
<a name="l00086"></a><a class="code" href="languages_8h.html#d879ec16d2626dd0775bdde7ccb638fd">00086</a> <span class="preprocessor"></span><span class="preprocessor">#define LANG_XAML "xaml"</span>
<a name="l00087"></a><a class="code" href="languages_8h.html#4c18fe637dd32c743674c6632385f94c">00087</a> <span class="preprocessor"></span><span class="preprocessor">#define LANG_XML "xml"</span>
<a name="l00088"></a><a class="code" href="languages_8h.html#2525786d2b5043c2df52fefc3f955af5">00088</a> <span class="preprocessor"></span><span class="preprocessor">#define LANG_XSLT "xslt"</span>
<a name="l00089"></a><a class="code" href="languages_8h.html#7d94d20a1e39c274d27af387c7b6e29c">00089</a> <span class="preprocessor"></span><span class="preprocessor">#define LANG_XMLSCHEMA "xmlschema"</span>
<a name="l00090"></a>00090 <span class="preprocessor"></span>
<a name="l00091"></a>00091 <span class="comment">// For gperf.</span>
<a name="l00092"></a><a class="code" href="structLanguageMap.html#2fc457876e8e8abba7ddbbcc6b5c549a">00092</a> <span class="keyword">struct </span><a class="code" href="structLanguageMap.html">LanguageMap</a> { <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="structLanguageMap.html#8e95c183368e6f6b548e062e45af521e">key</a>; <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="structLanguageMap.html#9ad9bd81562b00ce963f6c63e35d522b">name</a>; <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="structLanguageMap.html#2fc457876e8e8abba7ddbbcc6b5c549a">nice_name</a>; <span class="keywordtype">int</span> <a class="code" href="structLanguageMap.html#1435c0bc1ac24997bbe3545c624b16f0">category</a>; };
<a name="l00093"></a>00093 <span class="keyword">struct </span><a class="code" href="structLanguageMap.html">LanguageMap</a> *<a class="code" href="languages_8h.html#b90fa21ee794007217c79fc8c2001829">ohcount_hash_language_from_name</a>(<span class="keyword">register</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *str, <span class="keyword">register</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> len);
<a name="l00094"></a>00094 
<a name="l00095"></a>00095 <span class="preprocessor">#endif</span>
</pre></div></div>
<hr size="1"><address style="text-align: right;"><small>Generated on Fri Aug 28 15:20:08 2009 for ohcount by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address>
</body>
</html>