~ubuntu-branches/ubuntu/trusty/postfix/trusty-proposed

« back to all changes in this revision

Viewing changes to src/postconf/postconf_other.c

  • Committer: Package Import Robot
  • Author(s): LaMont Jones, LaMont Jones, localization folks
  • Date: 2014-02-11 07:44:30 UTC
  • mfrom: (58.1.1 sid)
  • Revision ID: package-import@ubuntu.com-20140211074430-kwkoxdz0fbajn0fj
Tags: 2.11.0-1
[LaMont Jones]

* New upstream release: 2.11.0

[localization folks]

* l10n: Updated German translations.  Closes: #734893 (Helge Kreutzmann)

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
/* SYNOPSIS
7
7
/*      #include <postconf.h>
8
8
/*
9
 
/*      void    show_maps()
10
 
/*
11
 
/*      void    show_locks()
12
 
/*
13
 
/*      void    show_sasl(mode)
 
9
/*      void    pcf_show_maps()
 
10
/*
 
11
/*      void    pcf_show_locks()
 
12
/*
 
13
/*      void    pcf_show_sasl(mode)
14
14
/*      int     mode;
15
15
/* DESCRIPTION
16
 
/*      show_maps() lists the available map (lookup table) types.
17
 
/*
18
 
/*      show_locks() lists the available mailbox lock types.
19
 
/*
20
 
/*      show_sasl() shows the available SASL authentication
 
16
/*      pcf_show_maps() lists the available map (lookup table)
 
17
/*      types.
 
18
/*
 
19
/*      pcf_show_locks() lists the available mailbox lock types.
 
20
/*
 
21
/*      pcf_show_sasl() shows the available SASL authentication
21
22
/*      plugin types.
22
23
/*
23
24
/*      Arguments:
24
25
/* .IP mode
25
 
/*      Show server information if the SHOW_SASL_SERV flag is set,
26
 
/*      otherwise show client information.
 
26
/*      Show server information if the PCF_SHOW_SASL_SERV flag is
 
27
/*      set, otherwise show client information.
27
28
/* DIAGNOSTICS
28
29
/*      Problems are reported to the standard error stream.
29
30
/* LICENSE
59
60
 
60
61
#include <postconf.h>
61
62
 
62
 
/* show_maps - show available maps */
 
63
/* pcf_show_maps - show available maps */
63
64
 
64
 
void    show_maps(void)
 
65
void    pcf_show_maps(void)
65
66
{
66
67
    ARGV   *maps_argv;
67
68
    int     i;
72
73
    argv_free(maps_argv);
73
74
}
74
75
 
75
 
/* show_locks - show available mailbox locking methods */
 
76
/* pcf_show_locks - show available mailbox locking methods */
76
77
 
77
 
void    show_locks(void)
 
78
void    pcf_show_locks(void)
78
79
{
79
80
    ARGV   *locks_argv;
80
81
    int     i;
85
86
    argv_free(locks_argv);
86
87
}
87
88
 
88
 
/* show_sasl - show SASL plug-in types */
 
89
/* pcf_show_sasl - show SASL plug-in types */
89
90
 
90
 
void    show_sasl(int what)
 
91
void    pcf_show_sasl(int what)
91
92
{
92
93
    ARGV   *sasl_argv;
93
94
    int     i;
94
95
 
95
 
    sasl_argv = (what & SHOW_SASL_SERV) ? xsasl_server_types() :
 
96
    sasl_argv = (what & PCF_SHOW_SASL_SERV) ? xsasl_server_types() :
96
97
        xsasl_client_types();
97
98
    for (i = 0; i < sasl_argv->argc; i++)
98
99
        vstream_printf("%s\n", sasl_argv->argv[i]);