tests: Abstract out code to produce a Ubik client
[openafs.git] / tests / common / common.h
index 6109b19..fcc4113 100644 (file)
@@ -33,3 +33,11 @@ extern int afstest_AddDESKeyFile(struct afsconf_dir *dir);
 
 extern int afstest_StartVLServer(char *dirname, pid_t *serverPid);
 extern int afstest_StopVLServer(pid_t serverPid);
+
+/* ubik.c */
+struct ubik_client;
+extern int afstest_GetUbikClient(struct afsconf_dir *dir, char *service,
+                                int serviceId,
+                                struct rx_securityClass *secClass,
+                                int secIndex,
+                                struct ubik_client **ubikClient);