File: sqlmod.sh

package info (click to toggle)
mailutils 1%3A0.6.1-4sarge2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 15,568 kB
  • ctags: 11,612
  • sloc: ansic: 111,948; sh: 8,899; yacc: 4,338; makefile: 2,235; exp: 2,190; lex: 1,379; lisp: 688; awk: 202; pascal: 151; sed: 23
file content (35 lines) | stat: -rwxr-xr-x 871 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
#! /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 */'