summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2004-12-06 14:05:59 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2004-12-06 14:05:59 +0000
commita4ff610263d8557c3fa154a0c702c55426cdbc67 (patch)
tree6f0ae2c5d78af80d350ed70adfe976ed9ec11b60 /scripts
parentbd7a5d3696006205cee339b71bc21fd0daec2531 (diff)
downloadmailutils-a4ff610263d8557c3fa154a0c702c55426cdbc67.tar.gz
mailutils-a4ff610263d8557c3fa154a0c702c55426cdbc67.tar.bz2
Added to the repository
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/sqlmod.sh35
1 files changed, 35 insertions, 0 deletions
diff --git a/scripts/sqlmod.sh b/scripts/sqlmod.sh
new file mode 100755
index 000000000..aba1ed3ed
--- /dev/null
+++ b/scripts/sqlmod.sh
@@ -0,0 +1,35 @@
+#! /bin/sh
+# This file is part of GNU Mailutils
+# Copyright (C) 2004 Free Software Foundation, Inc.
+#
+# Written by Sergey Poznyakoff
+#
+# This file is free software; as a special exception the author gives
+# unlimited permission to copy and/or distribute it, with or without
+# modifications, as long as this notice is preserved.
+#
+# GNU Mailutils is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
+# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+
+cat - <<EOT
+/* This file is generated automatically. Please do not edit */
+EOT
+
+for module
+do
+ echo "extern mu_sql_dispatch_t ${module}_dispatch_tab;"
+done
+
+cat - <<EOT
+static mu_sql_dispatch_t *static_dispatch_tab[] = {
+ NULL,
+EOT
+
+for module
+do
+ echo " &${module}_dispatch_tab,"
+done
+
+echo "};"
+echo '/* EOF */'

Return to:

Send suggestions and report system problems to the System administrator.