Rizin
unix-like reverse engineering framework and cli tools
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Friends Macros Modules Pages
names.h File Reference

Go to the source code of this file.

Classes

struct  names
 

Macros

#define L_C   0 /* first and foremost on UNIX */
 
#define L_CC   1 /* Bjarne's postincrement */
 
#define L_MAKE   2 /* Makefiles */
 
#define L_PLI   3 /* PL/1 */
 
#define L_MACH   4 /* some kinda assembler */
 
#define L_ENG   5 /* English */
 
#define L_PAS   6 /* Pascal */
 
#define L_MAIL   7 /* Electronic mail */
 
#define L_NEWS   8 /* Usenet Netnews */
 
#define L_JAVA   9 /* Java code */
 
#define L_HTML   10 /* HTML */
 
#define L_BCPL   11 /* BCPL */
 
#define L_M4   12 /* M4 */
 
#define L_PO   13 /* PO */
 
#define NNAMES   (sizeof(names) / sizeof(struct names))
 

Variables

struct {
   char   human [48]
 
   char   mime [16]
 
types []
 
static const struct names names []
 

Macro Definition Documentation

◆ L_BCPL

#define L_BCPL   11 /* BCPL */

Definition at line 56 of file names.h.

◆ L_C

#define L_C   0 /* first and foremost on UNIX */

Definition at line 45 of file names.h.

◆ L_CC

#define L_CC   1 /* Bjarne's postincrement */

Definition at line 46 of file names.h.

◆ L_ENG

#define L_ENG   5 /* English */

Definition at line 50 of file names.h.

◆ L_HTML

#define L_HTML   10 /* HTML */

Definition at line 55 of file names.h.

◆ L_JAVA

#define L_JAVA   9 /* Java code */

Definition at line 54 of file names.h.

◆ L_M4

#define L_M4   12 /* M4 */

Definition at line 57 of file names.h.

◆ L_MACH

#define L_MACH   4 /* some kinda assembler */

Definition at line 49 of file names.h.

◆ L_MAIL

#define L_MAIL   7 /* Electronic mail */

Definition at line 52 of file names.h.

◆ L_MAKE

#define L_MAKE   2 /* Makefiles */

Definition at line 47 of file names.h.

◆ L_NEWS

#define L_NEWS   8 /* Usenet Netnews */

Definition at line 53 of file names.h.

◆ L_PAS

#define L_PAS   6 /* Pascal */

Definition at line 51 of file names.h.

◆ L_PLI

#define L_PLI   3 /* PL/1 */

Definition at line 48 of file names.h.

◆ L_PO

#define L_PO   13 /* PO */

Definition at line 58 of file names.h.

◆ NNAMES

#define NNAMES   (sizeof(names) / sizeof(struct names))

Definition at line 180 of file names.h.

Variable Documentation

◆ human

char human[48]

Definition at line 61 of file names.h.

◆ mime

char mime[16]

Definition at line 62 of file names.h.

◆ names

const struct names names[]
static

◆ 

const { ... } types[]
Initial value:
= {
{
"C program",
"text/x-c",
},
{ "C++ program", "text/x-c++" },
{ "make commands", "text/x-makefile" },
{ "PL/1 program", "text/x-pl1" },
{ "assembler program", "text/x-asm" },
{ "English", "text/plain" },
{ "Pascal program", "text/x-pascal" },
{ "mail", "text/x-mail" },
{ "news", "text/x-news" },
{ "Java program", "text/x-java" },
{
"HTML document",
"text/html",
},
{ "BCPL program", "text/x-bcpl" },
{ "M4 macro language pre-processor", "text/x-m4" },
{ "PO (gettext message catalogue)", "text/x-po" },
{ "cannot happen error on names.h/types", "error/x-error" }
}