Useless.
[apps/pfixtools.git] / tokens.sh
index e402f48..4e1abb3 100755 (executable)
--- a/tokens.sh
+++ b/tokens.sh
@@ -46,8 +46,8 @@ EOF
 do_h() {
     do_hdr
     cat <<EOF
-#ifndef POSTLICYD_TOKENS_H
-#define POSTLICYD_TOKENS_H
+#ifndef PFIXTOOLS_TOKENS_H
+#define PFIXTOOLS_TOKENS_H
 
 typedef enum postlicyd_token {
     PTK_UNKNOWN = -1,
@@ -70,7 +70,8 @@ do_tokens() {
 }
 
 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`
 
@@ -132,7 +133,7 @@ exit 0
 ## recipient_count
 ## client_address
 ## client_name
-## rclient_name
+## reverse_client_name
 ## instance
 #
 # postfix 2.2+
@@ -142,7 +143,7 @@ exit 0
 ## size
 ## ccert_subject
 ## ccert_issuer
-## ccsert_fingerprint
+## ccert_fingerprint
 #
 # postfix 2.3+
 ## encryption_protocol
@@ -150,6 +151,9 @@ exit 0
 ## encryption_keysize
 ## etrn_domain
 #
+# postfix 2.5+
+## stress
+#
 # request value
 ## smtpd_access_policy
 #