~ubuntu-branches/ubuntu/maverick/krb5/maverick

« back to all changes in this revision

Viewing changes to src/windows/identity/config/csvschema.cfg

  • Committer: Bazaar Package Importer
  • Author(s): Sam Hartman, Russ Allbery, Sam Hartman
  • Date: 2008-08-21 10:41:41 UTC
  • mfrom: (11.1.15 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080821104141-a0f9c4o4cpo8xd0o
Tags: 1.6.dfsg.4~beta1-4
[ Russ Allbery ]
* Translation updates:
  - Swedish, thanks Martin Bagge.  (Closes: #487669, #491774)
  - Italian, thanks Luca Monducci.  (Closes: #493962)

[ Sam Hartman ]
* Translation Updates:
    - Dutch, Thanks Vincent Zweije, Closes: #495733

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#
2
 
# Copyright (c) 2004 Massachusetts Institute of Technology
3
 
#
4
 
# Permission is hereby granted, free of charge, to any person
5
 
# obtaining a copy of this software and associated documentation
6
 
# files (the "Software"), to deal in the Software without
7
 
# restriction, including without limitation the rights to use, copy,
8
 
# modify, merge, publish, distribute, sublicense, and/or sell copies
9
 
# of the Software, and to permit persons to whom the Software is
10
 
# furnished to do so, subject to the following conditions:
11
 
#
12
 
# The above copyright notice and this permission notice shall be
13
 
# included in all copies or substantial portions of the Software.
14
 
#
15
 
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
16
 
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
17
 
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
18
 
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
19
 
# BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
20
 
# ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
21
 
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
 
# SOFTWARE.
23
 
#
24
 
 
25
 
$file_prefix = <<EOS;
26
 
/*
27
 
This file was autogenerated from:
28
 
    $cfgfn
29
 
    $infn
30
 
 
31
 
Do not modify directly.
32
 
*/
33
 
#include<kconfig.h>
34
 
 
35
 
kconf_schema schema_$inbase\[] = {
36
 
EOS
37
 
 
38
 
$record_prefix = "{";
39
 
 
40
 
$record_sep = ",\n";
41
 
 
42
 
$record_postfix = "}";
43
 
 
44
 
$file_postfix = <<EOS;
45
 
 
46
 
};
47
 
 
48
 
 
49
 
EOS
50
 
 
51
 
$skip_lines = 1;
52
 
 
53
 
@pquote = (1,0,0,1);
54
 
 
55
 
sub rec_handler {
56
 
    $arr = shift;
57
 
    if($$arr[1] =~ "KC_STRING") {
58
 
        $$arr[2] = "(khm_int64) L\"".$$arr[2]."\"";
59
 
        $$arr[2] =~ s/\[\~\]/\\0/g;
60
 
    }
61
 
 
62
 
    if($#$arr == 2){
63
 
        $$arr[3] = "";
64
 
    }
65
 
}
66
 
 
67
 
$record_parser = \&rec_handler;
 
1
#
 
2
# Copyright (c) 2004 Massachusetts Institute of Technology
 
3
#
 
4
# Permission is hereby granted, free of charge, to any person
 
5
# obtaining a copy of this software and associated documentation
 
6
# files (the "Software"), to deal in the Software without
 
7
# restriction, including without limitation the rights to use, copy,
 
8
# modify, merge, publish, distribute, sublicense, and/or sell copies
 
9
# of the Software, and to permit persons to whom the Software is
 
10
# furnished to do so, subject to the following conditions:
 
11
#
 
12
# The above copyright notice and this permission notice shall be
 
13
# included in all copies or substantial portions of the Software.
 
14
#
 
15
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
 
16
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
 
17
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
 
18
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
 
19
# BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
 
20
# ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
 
21
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 
22
# SOFTWARE.
 
23
#
 
24
 
 
25
$file_prefix = <<EOS;
 
26
/*
 
27
This file was autogenerated from:
 
28
    $cfgfn
 
29
    $infn
 
30
 
 
31
Do not modify directly.
 
32
*/
 
33
#include<kconfig.h>
 
34
 
 
35
\$finc
 
36
 
 
37
kconf_schema schema_$inbase\[] = {
 
38
EOS
 
39
 
 
40
$record_prefix = "{";
 
41
 
 
42
$record_sep = ",\n";
 
43
 
 
44
$record_postfix = "}";
 
45
 
 
46
$file_postfix = <<EOS;
 
47
 
 
48
};
 
49
 
 
50
 
 
51
EOS
 
52
 
 
53
$skip_lines = 1;
 
54
 
 
55
@pquote = (1,0,0,1);
 
56
 
 
57
sub rec_handler {
 
58
    $arr = shift;
 
59
    if($$arr[1] =~ "KC_STRING") {
 
60
        $$arr[2] =~ s/\[\~\]/\\0/g;
 
61
        $$arr[2] = "(khm_int64) L\"".$$arr[2]."\"";
 
62
    }
 
63
 
 
64
    $$arr[3] = "";
 
65
}
 
66
 
 
67
$record_parser = \&rec_handler;