source: web/old/remctl-2.14/tests/tap/kerberos.h @ f6f3e91

web
Last change on this file since f6f3e91 was f6f3e91, checked in by Jessica B. Hamrick <jhamrick@…>, 15 years ago

Preserve directory hierarchy (not sure what happened to it)

  • Property mode set to 100644
File size: 695 bytes
Line 
1/*
2 * Utility functions for tests that use Kerberos.
3 *
4 * Copyright 2006, 2007, 2009
5 *     Board of Trustees, Leland Stanford Jr. University
6 *
7 * See LICENSE for licensing terms.
8 */
9
10#ifndef TAP_KERBEROS_H
11#define TAP_KERBEROS_H 1
12
13#include <config.h>
14#include <portable/macros.h>
15
16BEGIN_DECLS
17
18/*
19 * Set up Kerberos, returning the test principal in newly allocated memory if
20 * we were successful.  If there is no principal in tests/data/test.principal
21 * or no keytab in tests/data/test.keytab, return NULL.  Otherwise, on
22 * failure, calls bail().
23 */
24char *kerberos_setup(void);
25
26/* Clean up at the end of a test. */
27void kerberos_cleanup(void);
28
29END_DECLS
30
31#endif /* !TAP_MESSAGES_H */
Note: See TracBrowser for help on using the repository browser.