2 /* ========================================================================
3 * Copyright
1988-2006 University of Washington
5 * Licensed under the Apache License
, Version
2.0 (the
"License");
6 * you may
not use this file except in compliance with the License.
7 * You may obtain a
copy of the License at
9 * http
://www.apache.org
/licenses
/LICENSE
-2.0
12 * ========================================================================
15 * Program
: Authenticator Linkage Generator
for OS
/2
17 * Author
: Mark Crispin
18 * Networks and Distributed Computing
19 * Computing
& Communications
20 * University of Washington
21 * Administration Building
, AG
-44
23 * Internet
: MRC@CAC.Washington.EDU
26 * Last Edited
: 30 August
2006
29 /* Erase old authenticators list
*/
30 'if exist auths.c del auths.c'
36 call stream a_file
, 'C', 'open write'
37 call stream c_file
, 'C', 'open write'
38 call stream h_file
, 'C', 'open write'
41 call lineout a_file
, '#include "auth_'arg
'.c"'
42 call lineout h_file
, 'extern AUTHENTICATOR auth_'arg
';'
43 call lineout c_file
, ' auth_link (&auth_'arg
'); /* link in the 'arg
' authenticator */'
45 call stream h_file
, 'C', 'close'
46 call stream c_file
, 'C', 'close'
47 call stream a_file
, 'C', 'close'