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:
1002 bytes
|
Rev | Line | |
---|
[f6f3e91] | 1 | /* |
---|
| 2 | * Utility functions for tests that use remctl. |
---|
| 3 | * |
---|
| 4 | * Provides functions to start and stop a remctl daemon that uses the test |
---|
| 5 | * Kerberos environment and runs on port 14373 instead of the default 4373. |
---|
| 6 | * |
---|
| 7 | * Copyright 2006, 2007, 2009 |
---|
| 8 | * Board of Trustees, Leland Stanford Jr. University |
---|
| 9 | * |
---|
| 10 | * See LICENSE for licensing terms. |
---|
| 11 | */ |
---|
| 12 | |
---|
| 13 | #ifndef TAP_REMCTL_H |
---|
| 14 | #define TAP_REMCTL_H 1 |
---|
| 15 | |
---|
| 16 | #include <config.h> |
---|
| 17 | #include <portable/macros.h> |
---|
| 18 | |
---|
| 19 | #include <sys/types.h> /* pid_t */ |
---|
| 20 | |
---|
| 21 | BEGIN_DECLS |
---|
| 22 | |
---|
| 23 | /* |
---|
| 24 | * Start and stop remctld for tests that use it. kerberos_setup() should |
---|
| 25 | * normally be called first to check whether a Kerberos configuration is |
---|
| 26 | * available and to set KRB5_KTNAME. Takes the path to remctld, which may be |
---|
| 27 | * found via configure, the principal (returned by kerberos_setup), and the |
---|
| 28 | * path to the configuration file. |
---|
| 29 | */ |
---|
| 30 | pid_t remctld_start(const char *path, const char *principal, |
---|
| 31 | const char *config); |
---|
| 32 | void remctld_stop(pid_t); |
---|
| 33 | |
---|
| 34 | END_DECLS |
---|
| 35 | |
---|
| 36 | #endif /* !TAP_REMCTL_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.