LINUX: afs_create infinite fetchStatus loop
[pkg-k5-afs_openafs.git] / src / libuafs / linktest.c
blob0a7d0be96527dcfb73cb87ca092ee5451179d15c
1 /*
2 * Copyright 2000, International Business Machines Corporation and others.
3 * All Rights Reserved.
5 * This software has been released under the terms of the IBM Public
6 * License. For details, see the LICENSE file in the top-level source
7 * directory or online at http://www.openafs.org/dl/license10.html
8 */
11 * This program is NOT intended ever to be run. Its sole purpose is to
12 * test whether a program can link with libuafs.a.
15 #include <afsconfig.h>
16 #include <afs/param.h>
19 #include <sys/socket.h>
20 #include <sys/stat.h>
21 #include <sys/types.h>
23 #include <netinet/in.h>
24 #include <afs/sysincludes.h>
25 #include <rx/rx.h>
26 #include <afs_usrops.h>
28 int
29 main(int argc, char **argv)
31 int port = 0;
33 * Initialize the AFS client
35 uafs_SetRxPort(port);
37 uafs_Setup(NULL);
38 uafs_ParseArgs(0, NULL);
39 uafs_Run();
41 uafs_RxServerProc();
43 uafs_Shutdown();
45 return 0;