projects
/
apps
/
pfixtools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Simplify.
[apps/pfixtools.git]
/
tokens.sh
diff --git
a/tokens.sh
b/tokens.sh
index
9a1faaf
..
4e1abb3
100755
(executable)
--- a/
tokens.sh
+++ b/
tokens.sh
@@
-46,8
+46,8
@@
EOF
do_h() {
do_hdr
cat <<EOF
do_h() {
do_hdr
cat <<EOF
-#ifndef P
OSTLICYD
_TOKENS_H
-#define P
OSTLICYD
_TOKENS_H
+#ifndef P
FIXTOOLS
_TOKENS_H
+#define P
FIXTOOLS
_TOKENS_H
typedef enum postlicyd_token {
PTK_UNKNOWN = -1,
typedef enum postlicyd_token {
PTK_UNKNOWN = -1,
@@
-70,7
+70,8
@@
do_tokens() {
}
do_c() {
}
do_c() {
- cat <<EOF | gperf -m16 -l -t -C -F",0" -Ntokenize_aux
+ cat <<EOF | gperf -m16 -l -t -C -F",0" -Ntokenize_aux | \
+ sed -e '/__gnu_inline__/d;s/\<\(__\|\)inline\>//g'
%{
`do_hdr`
%{
`do_hdr`
@@
-123,8
+124,8
@@
exit 0
############ Put tokens here ############
# postfix 2.1+
## request
############ Put tokens here ############
# postfix 2.1+
## request
+## protocol_name
## protocol_state
## protocol_state
-## protocol_esmtp
## helo_name
## queue_id
## sender
## helo_name
## queue_id
## sender
@@
-132,7
+133,7
@@
exit 0
## recipient_count
## client_address
## client_name
## recipient_count
## client_address
## client_name
-## rclient_name
+## r
everse_
client_name
## instance
#
# postfix 2.2+
## instance
#
# postfix 2.2+
@@
-142,10
+143,31
@@
exit 0
## size
## ccert_subject
## ccert_issuer
## size
## ccert_subject
## ccert_issuer
-## cc
s
ert_fingerprint
+## ccert_fingerprint
#
# postfix 2.3+
## encryption_protocol
## encryption_cipher
## encryption_keysize
## etrn_domain
#
# postfix 2.3+
## encryption_protocol
## encryption_cipher
## encryption_keysize
## etrn_domain
+#
+# postfix 2.5+
+## stress
+#
+# request value
+## smtpd_access_policy
+#
+# protocol_name values
+## SMTP
+## ESMTP
+#
+# protocol_state values
+## CONNECT
+## EHLO
+## HELO
+## MAIL
+## RCPT
+## DATA
+## END-OF-MESSAGE
+## VRFY
+## ETRN