00001
00002
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_GLSL "glsl"
00039 #define LANG_GROOVY "groovy"
00040 #define LANG_HASKELL "haskell"
00041 #define LANG_HAML "haml"
00042 #define LANG_HAXE "haxe"
00043 #define LANG_HTML "html"
00044 #define LANG_IDL_PVWAVE "idl_pvwave"
00045 #define LANG_JAVA "java"
00046 #define LANG_JAVASCRIPT "javascript"
00047 #define LANG_JSP "jsp"
00048 #define LANG_LIMBO "limbo"
00049 #define LANG_LISP "lisp"
00050 #define LANG_LUA "lua"
00051 #define LANG_MAKE "make"
00052 #define LANG_MATLAB "matlab"
00053 #define LANG_METAFONT "metafont"
00054 #define LANG_METAPOST "metapost"
00055 #define LANG_METAPOST_WITH_TEX "metapost_with_tex"
00056 #define LANG_MXML "mxml"
00057 #define LANG_NIX "nix"
00058 #define LANG_OBJECTIVE_C "objective_c"
00059 #define LANG_OBJECTIVE_J "objective_j"
00060 #define LANG_OCAML "ocaml"
00061 #define LANG_OCTAVE "octave"
00062 #define LANG_PASCAL "pascal"
00063 #define LANG_PERL "perl"
00064 #define LANG_PHP "php"
00065 #define LANG_PIKE "pike"
00066 #define LANG_PYTHON "python"
00067 #define LANG_R "r"
00068 #define LANG_REXX "rexx"
00069 #define LANG_RHTML "rhtml"
00070 #define LANG_RUBY "ruby"
00071 #define LANG_SCALA "scala"
00072 #define LANG_SCHEME "scheme"
00073 #define LANG_SCILAB "scilab"
00074 #define LANG_SHELL "shell"
00075 #define LANG_SMALLTALK "smalltalk"
00076 #define LANG_STRATEGO "stratego"
00077 #define LANG_STRUCTURED_BASIC "structured_basic"
00078 #define LANG_SQL "sql"
00079 #define LANG_TCL "tcl"
00080 #define LANG_TEX "tex"
00081 #define LANG_VALA "vala"
00082 #define LANG_VB_ASPX "vb_aspx"
00083 #define LANG_VHDL "vhdl"
00084 #define LANG_VIM "vim"
00085 #define LANG_VISUALBASIC "visualbasic"
00086 #define LANG_XAML "xaml"
00087 #define LANG_XML "xml"
00088 #define LANG_XSLT "xslt"
00089 #define LANG_XMLSCHEMA "xmlschema"
00090
00091
00092 struct LanguageMap { const char *key; const char *name; const char *nice_name; int category; };
00093 struct LanguageMap *ohcount_hash_language_from_name(register const char *str, register unsigned int len);
00094
00095 #endif