File: python_fko.pl

package info (click to toggle)
fwknop 2.6.11-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 9,420 kB
  • sloc: ansic: 30,106; perl: 20,346; sh: 5,560; makefile: 955; xml: 937; python: 797; java: 444; objc: 292; erlang: 128
file content (25 lines) | stat: -rw-r--r-- 875 bytes parent folder | download | duplicates (5)
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
@python_fko = (
    {
        'category' => 'python fko extension',
        'subcategory' => 'compile/install',
        'detail'   => 'to: ./python_fko/',
        'function' => \&python_fko_compile_install,
    },
    {
        'category' => 'python fko extension',
        'subcategory' => 'basic exec',
        'detail'   => 'import and use fko',
        'function' => \&python_fko_basic_exec,
    },
    {
        'category' => 'python fko extension',
        'subcategory' => 'compatibility',
        'detail'   => 'python -> C server',
        'function' => \&python_fko_client_to_C_server,
        'fwknopd_cmdline'  => "$fwknopdCmd -c $cf{'def'} -a $cf{'hmac_sha512_short_key2_access'} " .
            "-d $default_digest_file -p $default_pid_file $intf_str",
        'fw_rule_created' => $NEW_RULE_REQUIRED,
        'fw_rule_removed' => $NEW_RULE_REMOVED,
    },

);