Rizin
unix-like reverse engineering framework and cli tools
pod.h File Reference

Go to the source code of this file.

Functions

static TAG_CALLBACK (pod_default)
 
static TAG_CALLBACK (pod_cut)
 
static TAG_CALLBACK (pod_head1)
 

Variables

static struct Tag pod_tags []
 
static struct Arg pod_args []
 
DLL_LOCAL struct Proc pod_proc
 

Function Documentation

◆ TAG_CALLBACK() [1/3]

static TAG_CALLBACK ( pod_cut  )
static

Definition at line 8 of file pod.h.

8  {
9  out_printf (out, "\n");
10  state->echo[state->ifl] = 0;
11  return 0;
12 }
const lzma_allocator const uint8_t size_t uint8_t * out
Definition: block.h:528
void out_printf(Output *out, char *str,...) __attribute__((format(printf
Definition: dis.h:43

References out, and out_printf().

◆ TAG_CALLBACK() [2/3]

static TAG_CALLBACK ( pod_default  )
static

Definition at line 3 of file pod.h.

3  {
4  out_printf (out, "DEFAULT: (%s)\n", buf);
5  return 0;
6 }
voidpf void * buf
Definition: ioapi.h:138

References out, and out_printf().

◆ TAG_CALLBACK() [3/3]

static TAG_CALLBACK ( pod_head1  )
static

Definition at line 14 of file pod.h.

14  {
15  state->echo[state->ifl] = 1;
16  out_printf (out, "\n");
17  if (!buf) {
18  return 0;
19  }
20  out_printf (out, "%s\n", buf);
21  int i, len = strlen (buf);
22  for (i = 0; i < len; i++) {
23  out_printf (out, "%c", '=');
24  }
25  out_printf (out, "\n");
26  return 0;
27 }
size_t len
Definition: 6502dis.c:15
lzma_index ** i
Definition: index.h:629

Variable Documentation

◆ pod_args

struct Arg pod_args[]
static
Initial value:
= {
{ NULL }
}
#define NULL
Definition: cris-opc.c:27

Definition at line 14 of file pod.h.

◆ pod_proc

DLL_LOCAL struct Proc pod_proc
Initial value:
= {
.name = "pod",
.tags = (struct Tag **)pod_tags,
.args = (struct Arg **)pod_args,
.token = " ",
.eof = NULL,
.tag_pre = "=",
.tag_post = "\n",
.multiline = NULL,
.default_echo = 0,
.chop = 0,
.tag_begin = 1,
}
int args
Definition: mipsasm.c:18
static struct Arg pod_args[]
Definition: pod.h:36
static struct Tag pod_tags[]
Definition: pod.h:29
Definition: spp.h:121
Definition: spp.h:116

Definition at line 40 of file pod.h.

◆ pod_tags

struct Tag pod_tags[]
static
Initial value:
= {
{ "head1", pod_head1 },
{ "cut", pod_cut },
{ NULL, pod_default },
{ NULL }
}

Definition at line 14 of file pod.h.