summaryrefslogtreecommitdiffstats
path: root/src/include/k5-locate.h
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@mit.edu>2006-05-23 00:03:06 +0000
committerKen Raeburn <raeburn@mit.edu>2006-05-23 00:03:06 +0000
commitee330a2d8d97e705bcdbb89670b81c09eb692e10 (patch)
tree1352455ae7499521c5ae97bb1cb7de412b94c543 /src/include/k5-locate.h
parent7dc48ce343aae54d4f1fb792a303761df52581e1 (diff)
downloadkrb5-ee330a2d8d97e705bcdbb89670b81c09eb692e10.tar.gz
krb5-ee330a2d8d97e705bcdbb89670b81c09eb692e10.tar.xz
krb5-ee330a2d8d97e705bcdbb89670b81c09eb692e10.zip
install headers into include/krb5
Create include/krb5 directory, and put krb5.h and (k5-)locate.h there in the build tree. Stub krb5.h in main include directory just includes krb5/krb5.h. Update dependencies, and add dependencies in a couple Makefiles that didn't have them. ticket: new git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18030 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/include/k5-locate.h')
-rw-r--r--src/include/k5-locate.h30
1 files changed, 0 insertions, 30 deletions
diff --git a/src/include/k5-locate.h b/src/include/k5-locate.h
deleted file mode 100644
index a49c79ad24..0000000000
--- a/src/include/k5-locate.h
+++ /dev/null
@@ -1,30 +0,0 @@
-#ifndef K5_PLUGIN_H_INCLUDED
-#define K5_PLUGIN_H_INCLUDED
-#include "krb5.h"
-
-enum locate_service_type {
- locate_service_kdc = 1,
- locate_service_master_kdc,
- locate_service_kadmin,
- locate_service_krb524,
- locate_service_kpasswd
-};
-
-struct krb5plugin_service_locate_ftable {
- int vmajor, vminor;
- /* Per-context setup and teardown. Returned void* blob is
- private to the plugin. */
- krb5_error_code (*init)(krb5_context, void **);
- void (*fini)(void *);
- /* Callback function returns non-zero if the plugin function
- should quit and return; this may be because of an error, or may
- indicate we've already contacted the service, whatever. The
- lookup function should only return an error if it detects a
- problem, not if the callback function tells it to quit. */
- krb5_error_code (*lookup)(void *,
- enum locate_service_type svc, const char *realm,
- int socktype, int family,
- int (*cbfunc)(void *,int,struct sockaddr *),
- void *cbdata);
-};
-#endif