|
|
1.1 root 1: #include <u.h>
2: #include <libc.h>
3: #include <../boot/boot.h>
4:
5: Method *ilmp;
6:
7: /*
8: * so that authentication will work, we assume that il always
9: * is configured in with the cyclone.
10: */
11: void
12: configcyc(Method *mp)
13: {
14: USED(mp);
15: for(ilmp = method; ilmp->name; ilmp++)
16: if(strcmp(ilmp->name, "il") == 0)
17: break;
18: if(ilmp->name)
19: (*ilmp->config)(ilmp);
20: }
21:
22: int
23: authcyc(void)
24: {
25: if(ilmp->name)
26: return (*ilmp->auth)();
27: return -1;
28: }
29:
30: int
31: connectcyc(void)
32: {
33: return open("#C/cyc", ORDWR);
34: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.