File: yapp.h

package info (click to toggle)
fbb 7.011-3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 4,996 kB
  • sloc: ansic: 88,044; sh: 2,342; makefile: 309
file content (75 lines) | stat: -rw-r--r-- 1,776 bytes parent folder | download | duplicates (3)
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
70
71
72
73
74
75
/***********************************************************************
    Copyright (C) 1986-2000 by

    F6FBB - Jean-Paul ROUBELAT
    jpr@f6fbb.org

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.
    You should have received a copy of the GNU General Public License
    along with this program. If not, see <http://www.gnu.org/licenses/>.

    Parts of code have been taken from many other softwares.
    Thanks for the help.
***********************************************************************/

#define UK  0
#define RR  1
#define RF  2
#define SI  3
#define HD  4
#define DT  5
#define EF  6
#define ET  7
#define NR  8
#define CN  9
#define CA  10
#define RI  11
#define TX  12
#define TM  13
#define AF  14
#define AT  15
#define SN  16  /* Envoie la suite des datas */

#define NUL 0
#define SOH 1
#define STX 2
#define ETX 3
#define EOT 4
#define ENQ 5
#define ACK 6
#define DLE 16
#define NAK 21
#define CAN 24

#define SA  99  /* start */

#define S   0
#define S1  1
#define SH  2
#define SD  3
#define SE  4
#define ST  5
#define R   6
#define RH  7
#define RD  8
#define AB  9   /* abort */
#define CW  10
#define C   11

#define DP  12  /* Etats transitoires */
#define E1  13
#define E2  14
#define E3  15
#define E4  16
#define E5  17
#define E6  18
#define RP  19  /* Reprise de l'envoi */