ohcount
|
00001 // languages.h written by Mitchell Foral. mitchell<att>caladbolg.net. 00002 // See COPYING for license information. 00003 00004 #ifndef OHCOUNT_LANGUAGES_H 00005 #define OHCOUNT_LANGUAGES_H 00006 00007 #include <string.h> 00008 00009 #define LANG_ACTIONSCRIPT "actionscript" 00010 #define LANG_ADA "ada" 00011 #define LANG_ASSEMBLER "assembler" 00012 #define LANG_AUTOCONF "autoconf" 00013 #define LANG_AUTOMAKE "automake" 00014 #define LANG_AWK "awk" 00015 #define LANG_BAT "bat" 00016 #define LANG_BLITZMAX "blitzmax" 00017 #define LANG_BOO "boo" 00018 #define LANG_C "c" 00019 #define LANG_CLASSIC_BASIC "classic_basic" 00020 #define LANG_CLEARSILVER "clearsilver" 00021 #define LANG_CLEARSILVER_TEMPLATE "clearsilver_template" 00022 #define LANG_CMAKE "cmake" 00023 #define LANG_CPP "cpp" 00024 #define LANG_CS_ASPX "cs_aspx" 00025 #define LANG_CSHARP "csharp" 00026 #define LANG_CSS "css" 00027 #define LANG_DCL "dcl" 00028 #define LANG_DMD "dmd" 00029 #define LANG_DYLAN "dylan" 00030 #define LANG_EBUILD "ebuild" 00031 #define LANG_EIFFEL "eiffel" 00032 #define LANG_ERLANG "erlang" 00033 #define LANG_EXHERES "exheres" 00034 #define LANG_EMACSLISP "emacslisp" 00035 #define LANG_FACTOR "factor" 00036 #define LANG_FORTRANFIXED "fortranfixed" 00037 #define LANG_FORTRANFREE "fortranfree" 00038 #define LANG_FSHARP "fsharp" 00039 #define LANG_GLSL "glsl" 00040 #define LANG_GROOVY "groovy" 00041 #define LANG_HASKELL "haskell" 00042 #define LANG_HAML "haml" 00043 #define LANG_HAXE "haxe" 00044 #define LANG_HTML "html" 00045 #define LANG_IDL_PVWAVE "idl_pvwave" 00046 #define LANG_JAVA "java" 00047 #define LANG_JAVASCRIPT "javascript" 00048 #define LANG_JSP "jsp" 00049 #define LANG_LIMBO "limbo" 00050 #define LANG_LISP "lisp" 00051 #define LANG_LUA "lua" 00052 #define LANG_MAKE "make" 00053 #define LANG_MATLAB "matlab" 00054 #define LANG_METAFONT "metafont" 00055 #define LANG_METAPOST "metapost" 00056 #define LANG_METAPOST_WITH_TEX "metapost_with_tex" 00057 #define LANG_MXML "mxml" 00058 #define LANG_NIX "nix" 00059 #define LANG_OBJECTIVE_C "objective_c" 00060 #define LANG_OBJECTIVE_J "objective_j" 00061 #define LANG_OCAML "ocaml" 00062 #define LANG_OCTAVE "octave" 00063 #define LANG_PASCAL "pascal" 00064 #define LANG_PERL "perl" 00065 #define LANG_PHP "php" 00066 #define LANG_PIKE "pike" 00067 #define LANG_PYTHON "python" 00068 #define LANG_R "r" 00069 #define LANG_REXX "rexx" 00070 #define LANG_RHTML "rhtml" 00071 #define LANG_RUBY "ruby" 00072 #define LANG_SCALA "scala" 00073 #define LANG_SCHEME "scheme" 00074 #define LANG_SCILAB "scilab" 00075 #define LANG_SHELL "shell" 00076 #define LANG_SMALLTALK "smalltalk" 00077 #define LANG_STRATEGO "stratego" 00078 #define LANG_STRUCTURED_BASIC "structured_basic" 00079 #define LANG_SQL "sql" 00080 #define LANG_TCL "tcl" 00081 #define LANG_TEX "tex" 00082 #define LANG_VALA "vala" 00083 #define LANG_VB_ASPX "vb_aspx" 00084 #define LANG_VHDL "vhdl" 00085 #define LANG_VIM "vim" 00086 #define LANG_VISUALBASIC "visualbasic" 00087 #define LANG_XAML "xaml" 00088 #define LANG_XML "xml" 00089 #define LANG_XSLT "xslt" 00090 #define LANG_XMLSCHEMA "xmlschema" 00091 00092 // For gperf. 00093 struct LanguageMap { const char *key; const char *name; const char *nice_name; int category; }; 00094 struct LanguageMap *ohcount_hash_language_from_name(register const char *str, register unsigned int len); 00095 00096 #endif