summaryrefslogtreecommitdiffstats
path: root/src/include/krb5/func-proto.h
Commit message (Collapse)AuthorAgeFilesLines
* Remove .h files which are now collapsed into krb5.hTheodore Tso1995-04-201-693/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5394 dc483132-0cff-0310-8789-dd5450dbe970
* Removed global_context hackEzra Peisach1995-04-191-4/+3
| | | | | | Added prototype for krb5_set_default_realm git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5376 dc483132-0cff-0310-8789-dd5450dbe970
* Windows global stuff:Keith Vetter1995-04-141-117/+117
| | | | | | | | | o removed INTERFACE from non-api functions o add FAR to pointers visible to the world o made the tests for __STDC__ also check for _WINDOWS o creates GSSAPI.DLL & GSSAPI.LIB as per spec. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5354 dc483132-0cff-0310-8789-dd5450dbe970
* Bug fixes or better error handling for the following 4 Windows bugsKeith Vetter1995-04-061-30/+38
| | | | | | | | | | | | | | | | | | | | | | (note, these changes haven't yet been tested on the PC which were failing so no guarantee that they fully work): a) GUI to cns improved so that you don't need a resize for the widgets to align properly, and so the interaction of typing: "username cr password cr" is all you need to do to get you a ticket. b) cns uses krb5_us_gettimeofday instead of krb5_timeofday because the former is more accurate and handles timezones. Probably should make the latter just call the former. c) Added SOCKET_INIT and SOCKET_DESTROY around krb5_sendto_kdc to prevent some tcp/ip stacks from locking up after 8 uses. d) Added a new error message and better error handling to give more precision as to why one PC was getting the error 'Cannot find KDC for requested realm.' git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5342 dc483132-0cff-0310-8789-dd5450dbe970
* Commit on the whole tree to make a checkpoint for a working windows worldKeith Vetter1995-03-311-0/+12
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5315 dc483132-0cff-0310-8789-dd5450dbe970
* * func-proto.h (krb5_rd_req(), krb5_rd_req_decode(), krb5_mk_rep(),Chris Provenzano1995-03-271-35/+22
| | | | | | | | | krb5_recvauth(), and krb5_compat_recvauth(). Added a krb5_auth_context argument and eliminated many of the other arguments because they are included in the krb5_auth_context structure. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5259 dc483132-0cff-0310-8789-dd5450dbe970
* Part of low-level open file PC bug and moved some prototypes into worldKeith Vetter1995-03-221-0/+5
| | | | | | accessible files. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5181 dc483132-0cff-0310-8789-dd5450dbe970
* Some windows i/o stuff and moved 2 prototypes to func-proto.hKeith Vetter1995-03-151-0/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5127 dc483132-0cff-0310-8789-dd5450dbe970
* * func-proto.h (krb5_mk_req(), krb5_mk_req_extended(), krb5_rd_rep(),Chris Provenzano1995-03-101-38/+91
| | | | | | | | | | | | | | | | | | krb5_sendauth(), krb5_mk_priv(), krb5_rd_priv(), krb5_mk_safe(), and krb5_rd_safe()). Added a krb5_auth_context argument and eliminated many of the other arguments because they are included in the krb5_auth_context structure. * fieldbits.h Added #define AP_OPTS_USE_SUBKEY 0x00000001 for a new option to an ap req message. This is mainly a clean way to inform krb5_mk_req() and krb5_mk_req_extended() to create the subkey without adding an extra argument. * safepriv.h Replace safe/priv flags with flags for krb5_auth_context and add krb5_replay_data structure for when the appilication want to do it's own replay detection for safe and priv calls. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5095 dc483132-0cff-0310-8789-dd5450dbe970
* Fixed up a const attribute on krb5_send_tgs in func-proto.hKeith Vetter1995-03-021-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5057 dc483132-0cff-0310-8789-dd5450dbe970
* Prototype changes for the krb5/os functions needed on the PCKeith Vetter1995-03-021-0/+9
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5055 dc483132-0cff-0310-8789-dd5450dbe970
* Converted the krb5/krb directory to work under windows. Mostly added theKeith Vetter1995-02-271-6/+6
| | | | | | windows INTERFACE keyword to functions. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5002 dc483132-0cff-0310-8789-dd5450dbe970
* * func-proto.h (krb5_get_credentials(), krb5_get_cred_from_kdc(),Chris Provenzano1995-02-231-4/+5
| | | | | | | | | and krb5_sendauth()) replaced krb5_cred * IN/OUT arg with a krb5_cred * IN and a krb5_cred ** OUT arg. * func-proto.h (krb5_mk_req_extended()) Remove kdc_options flag arg and krb5_ccache arg. They are no longer necessary. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4989 dc483132-0cff-0310-8789-dd5450dbe970
* Converted krb5/free to the PC. Added windows INTERFACE keyword to theKeith Vetter1995-02-211-106/+118
| | | | | | functions and their prototypes and fixed upt the Makefile.in. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4960 dc483132-0cff-0310-8789-dd5450dbe970
* * func-proto.h (krb5_get_in_tkt()) Changed key_proc args to be theChris Provenzano1995-02-081-11/+20
| | | | | | | | | | | | | following (krb5_context, const krb5_keytype, krb5_data *, krb5_const_pointer, krb5_keyblock **) * func-proto.h (krb5_get_in_tkt_*()) Removed krb5_keytype, changed krb5_enctype to krb5_enctype *, changed krb5_preauthtype to krb5_preauthtype *. * func-proto.h Added new routine krb5_get_in_tkt_with_keytab(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4919 dc483132-0cff-0310-8789-dd5450dbe970
* * func-proto.h Added krb5_keytype arg to rb5_rdreq_key_procChris Provenzano1995-02-021-1/+17
| | | | | | | | | | | | | * func-proto.h (krb5_send_tgs()) Changed krb5_enctype arg to krb5_enctype *, a NULL terminated array of encryption types. * func-proto.h Added prototypes for krb5_get_for_creds(), krb5_set_default_in_tkt_etypes(), and krb5_get_default_in_tkt_etypes(). * krb5.h Added fields to krb5_context to support default etypes. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4872 dc483132-0cff-0310-8789-dd5450dbe970
* Added krb5_keytype arg to krb5_kt_read_service_key() and krb5_kt_get_entry()Chris Provenzano1995-01-281-0/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4864 dc483132-0cff-0310-8789-dd5450dbe970
* * Removed all narrow types and references to wide.h and narrow.hChris Provenzano1995-01-251-13/+0
| | | | | | | | | | | * base-defs.h Typedef krb5_boolean, krb5_msgtype, krb5_kvno, krb5_addrtype, krb5_keytyp, krb5_enctype, krb5_cksumtype, and krb5_authdatatype as int. * kdb.h Made keytype in krb5_encrypted_keyblock explicitly short for backwards compatibility. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4835 dc483132-0cff-0310-8789-dd5450dbe970
* Removed all references to DECLARG and OLDDECLARG.Chris Provenzano1995-01-131-129/+236
| | | | | | Added krb5_context to all krb5_*() routines. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4815 dc483132-0cff-0310-8789-dd5450dbe970
* Change the type of krb5_context to include the pointerTheodore Tso1994-12-221-2/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4746 dc483132-0cff-0310-8789-dd5450dbe970
* Add new typedefs, declarations for krb5_context and krb5_os_contextTheodore Tso1994-12-201-0/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4741 dc483132-0cff-0310-8789-dd5450dbe970
* encode_kdc.c (krb5_encode_kdc_rep): Now requires that theTheodore Tso1994-11-211-1/+3
| | | | | | | | | | | | | caller pass in the encryption block to be used for encrpyting the ticket. That way, this routine doesn't need to create its own encryption block. encrypt_tk.c (krb5_encrypt_tkt_part): Now requires that the caller pass in the encryption block to be used for encrpyting the ticket. That way, this routine doesn't need to create its own encryption block. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4710 dc483132-0cff-0310-8789-dd5450dbe970
* Added realm compare functionTheodore Tso1994-09-291-0/+3
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4377 dc483132-0cff-0310-8789-dd5450dbe970
* Applied Cybersafe's changes to do transited realm path checkingTheodore Tso1994-09-221-0/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4328 dc483132-0cff-0310-8789-dd5450dbe970
* stamp out rcs keywordsMark Eichin1994-08-181-3/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4189 dc483132-0cff-0310-8789-dd5450dbe970
* Fix the type of fetchfrom in krb5_rd_req and krb5_rd_req_decodedTheodore Tso1994-06-101-2/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3709 dc483132-0cff-0310-8789-dd5450dbe970
* Added krb5_principal2salt_norealmTheodore Tso1994-03-241-0/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3473 dc483132-0cff-0310-8789-dd5450dbe970
* Moved KRB5_TGS_NAME to krb5.h, from base-defs.h (where it didn't belong)Theodore Tso1993-12-011-5/+1
| | | | | | | | | Added flag argument to krb5_recvauth() Removed declaration of two internal routines (krb5_generate_authenticator and find_preauthenticator). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3052 dc483132-0cff-0310-8789-dd5450dbe970
* Change use of xfree to krb5_xfree to prevent namespace pollutionTheodore Tso1993-10-151-0/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2670 dc483132-0cff-0310-8789-dd5450dbe970
* Changed krb5_generate_authenticator to accept a princiapl instead ofTheodore Tso1993-09-011-2/+1
| | | | | | a credentials structure for the second argument. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2641 dc483132-0cff-0310-8789-dd5450dbe970
* Modifications supplied by Ari Medvinsky to include the authorizationTheodore Tso1993-09-011-0/+6
| | | | | | data field in the authenticator. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2639 dc483132-0cff-0310-8789-dd5450dbe970
* Change export warning notice from "is assumed to require an export license"Theodore Tso1993-09-011-2/+2
| | | | | | to "may require..." git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2638 dc483132-0cff-0310-8789-dd5450dbe970
* Changes to support preauth. Added prototypes for krb5_obtain_padataTheodore Tso1992-09-241-4/+22
| | | | | | and krb5_verify_padata. Changed prototype for krb5_get_in_tkt git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2388 dc483132-0cff-0310-8789-dd5450dbe970
* Add protoype for krb5_walk_realm_treeJohn Carr1992-08-211-0/+19
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2340 dc483132-0cff-0310-8789-dd5450dbe970
* Declare krb5_free_realm_tree()John Carr1992-02-231-0/+3
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2212 dc483132-0cff-0310-8789-dd5450dbe970
* change first arg of krb5_get_server_rcache to a krb5_data *John Kohl1991-07-191-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2189 dc483132-0cff-0310-8789-dd5450dbe970
* Update copyright noticeJohn Kohl1991-06-061-2/+16
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2156 dc483132-0cff-0310-8789-dd5450dbe970
* Force use of ANSI stdarg if .cf file defines UseStdargJohn Carr1991-05-291-2/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2121 dc483132-0cff-0310-8789-dd5450dbe970
* krb5_mk_req_extended no longer has a time argumentJohn Carr1991-05-271-1/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2114 dc483132-0cff-0310-8789-dd5450dbe970
* Various name changes; added mysterious #defins for KRB5_GC_*Theodore Tso1991-05-061-3/+15
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2094 dc483132-0cff-0310-8789-dd5450dbe970
* sendauth/recvauth take krb5_pointer, not void *John Kohl1991-03-291-2/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1959 dc483132-0cff-0310-8789-dd5450dbe970
* Added declarations for krb5_sendauth() and krb5_recvauth()Theodore Tso1991-03-281-8/+36
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1952 dc483132-0cff-0310-8789-dd5450dbe970
* add krb5_get_server_rcacheJohn Kohl1991-03-051-0/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1863 dc483132-0cff-0310-8789-dd5450dbe970
* add krb5_generate_seq_numberJohn Kohl1991-03-011-0/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1824 dc483132-0cff-0310-8789-dd5450dbe970
* mk_req_extended now takes a krb5_keyblock ** so it can generate the keyJohn Kohl1991-02-281-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1819 dc483132-0cff-0310-8789-dd5450dbe970
* add rcache args to mk_priv, mk_safeJohn Kohl1991-02-271-3/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1796 dc483132-0cff-0310-8789-dd5450dbe970
* add krb5_generate_subkeyJohn Kohl1991-02-221-0/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1765 dc483132-0cff-0310-8789-dd5450dbe970
* Changes to conform with API modificationsTheodore Tso1991-02-211-5/+12
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1750 dc483132-0cff-0310-8789-dd5450dbe970
* Added function prototypes for copy_checksum() and copy_authenticator()Theodore Tso1990-12-181-0/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1562 dc483132-0cff-0310-8789-dd5450dbe970
* RFC draft protocol changes and related cleanupsJohn Kohl1990-12-141-11/+24
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1554 dc483132-0cff-0310-8789-dd5450dbe970