File: MsgSkip.c

package info (click to toggle)
xsystem35 1.7.3-pre5-7
  • links: PTS
  • area: main
  • in suites: buster
  • size: 7,332 kB
  • sloc: ansic: 51,002; sh: 12,048; asm: 863; makefile: 410; xml: 281; perl: 142
file content (69 lines) | stat: -rw-r--r-- 1,242 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
#include "config.h"

#include <stdio.h>
#include <string.h>

#include "portab.h"
#include "system.h"
#include "xsystem35.h"
#include "nact.h"
#include "message.h"

static char *msgskipfile;

void Init() {
        int *p1 = getCaliVariable();
        int p2 = getCaliValue(); /* ISys3x */
        int p3 = getCaliValue();
        int p4 = getCaliValue();

	
	DEBUG_COMMAND_YET("MsgSkip.Init %p,%d,%d,%d:\n", p1, p2, p3, p4);
}

void Start() {
        int *p1 = getCaliVariable();
        int p2 = getCaliValue();

	msgskipfile = strdup(v_str(p2 -1));
	
	DEBUG_COMMAND_YET("MsgSkip.Start %p,%d:\n", p1, p2);
}

void SetValid() {
        int p1 = getCaliValue();

	
	DEBUG_COMMAND("MsgSkip.SetValid %d:\n", p1);
}

void GetValid() {
        int *p1 = getCaliVariable();
	
	DEBUG_COMMAND_YET("MsgSkip.GetValid %p:\n", p1);
}

void SetAction() {
        int p1 = getCaliValue();
	
	DEBUG_COMMAND("MsgSkip.SetAcion %d:\n", p1);
}

void GetAction() {
        int *p1 = getCaliVariable();
	
	DEBUG_COMMAND_YET("MsgSkip.GetAcion %p:\n", p1);
}

void PushStr() {
        int p1 = getCaliValue();
	
	DEBUG_COMMAND_YET("MsgSkip.PushStr %d:\n", p1);
}

void PopStr() {
        int p1 = getCaliValue();
	
	DEBUG_COMMAND_YET("MsgSkip.PopStr %d:\n", p1);
}