diff options
author | Tom Yu <tlyu@mit.edu> | 1998-02-23 01:09:51 +0000 |
---|---|---|
committer | Tom Yu <tlyu@mit.edu> | 1998-02-23 01:09:51 +0000 |
commit | 6ff0840db45f059949857260c3db3372fad660d5 (patch) | |
tree | d23932c8de2524d10038e8f027cca9a184118097 /src/include/k5-util.h | |
parent | 27352d7e321ef9940f6a0c30e2fbb37e85567f22 (diff) | |
download | krb5-6ff0840db45f059949857260c3db3372fad660d5.zip krb5-6ff0840db45f059949857260c3db3372fad660d5.tar.gz krb5-6ff0840db45f059949857260c3db3372fad660d5.tar.bz2 |
* k5-util.h: New file. Add krb5_seteuid in order to allow
applications to use it without including k5-int.h.
* k5-int.h: Remove krb5_seteuid, as it is moving to k5-util.h.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10467 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/include/k5-util.h')
-rw-r--r-- | src/include/k5-util.h | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/src/include/k5-util.h b/src/include/k5-util.h new file mode 100644 index 0000000..643b936 --- /dev/null +++ b/src/include/k5-util.h @@ -0,0 +1,44 @@ +/* + * Copyright (C) 1989-1998 by the Massachusetts Institute of Technology, + * Cambridge, MA, USA. All Rights Reserved. + * + * This software is being provided to you, the LICENSEE, by the + * Massachusetts Institute of Technology (M.I.T.) under the following + * license. By obtaining, using and/or copying this software, you agree + * that you have read, understood, and will comply with these terms and + * conditions: + * + * Export of this software from the United States of America may + * require a specific license from the United States Government. + * It is the responsibility of any person or organization contemplating + * export to obtain such a license before exporting. + * + * WITHIN THAT CONSTRAINT, permission to use, copy, modify and distribute + * this software and its documentation for any purpose and without fee or + * royalty is hereby granted, provided that you agree to comply with the + * following copyright notice and statements, including the disclaimer, and + * that the same appear on ALL copies of the software and documentation, + * including modifications that you make for internal use or for + * distribution: + * + * THIS SOFTWARE IS PROVIDED "AS IS", AND M.I.T. MAKES NO REPRESENTATIONS + * OR WARRANTIES, EXPRESS OR IMPLIED. By way of example, but not + * limitation, M.I.T. MAKES NO REPRESENTATIONS OR WARRANTIES OF + * MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF + * THE LICENSED SOFTWARE OR DOCUMENTATION WILL NOT INFRINGE ANY THIRD PARTY + * PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS. + * + * The name of the Massachusetts Institute of Technology or M.I.T. may NOT + * be used in advertising or publicity pertaining to distribution of the + * software. Title to copyright in this software and any associated + * documentation shall at all times remain with M.I.T., and USER agrees to + * preserve same. + */ + +/* + * "internal" utility functions used by various applications. + * They live in libkrb5util. + */ + +int krb5_seteuid(int); +int krb5_setedid(int); |