platform.h revision 204917
114456Ssos/* $Id: platform.h,v 1.4 2010/01/14 01:44:16 djm Exp $ */
214456Ssos
314456Ssos/*
414456Ssos * Copyright (c) 2006 Darren Tucker.  All rights reserved.
514456Ssos *
614456Ssos * Permission to use, copy, modify, and distribute this software for any
714456Ssos * purpose with or without fee is hereby granted, provided that the above
814456Ssos * copyright notice and this permission notice appear in all copies.
914456Ssos *
1014456Ssos * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
1114456Ssos * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
1214456Ssos * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
1314456Ssos * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
1414456Ssos * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
1514456Ssos * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
1614456Ssos * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
1714456Ssos */
1814456Ssos
1914456Ssos#include <sys/types.h>
2014456Ssos
2114456Ssosvoid platform_pre_listen(void);
2214456Ssosvoid platform_pre_fork(void);
2314456Ssosvoid platform_post_fork_parent(pid_t child_pid);
2414456Ssosvoid platform_post_fork_child(void);
2514456Ssoschar *platform_get_krb5_client(const char *);
2614456Ssoschar *platform_krb5_get_principal_name(const char *);
2714456Ssos
2814456Ssos
2914456Ssos