summaryrefslogtreecommitdiffstats
path: root/src/include
Commit message (Collapse)AuthorAgeFilesLines
* Make prototypes unconditionalKen Raeburn2001-01-176-374/+293
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12908 dc483132-0cff-0310-8789-dd5450dbe970
* * des.h: Change to make KRB4_32 an int if it's at least 32 bitsTom Yu2000-11-083-22/+113
| | | | | | | | | | | | | | | wide, else a long. This is a change from previously where it was a long except on the alpha. We may want to rethink this if there are binary compat issues that result. Also, define DES_INT32 as KRB4_INT32. * krb.h: Add new macros KRB4_PUT32, KRB4_PUT16 which unconditionally encode integers by bytes as big-endian. Add new macros KRB4_GET32BE, KRB4_GET32LE, KRB4_GET32, KRB4_GET16BE, KRB4_GET16LE, KRB4_GET16 to retrieve integers by bytes. Add prototype for krb_strnlen. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12858 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Use AC_C_CONST instead of AC_CONST andEzra Peisach2000-11-012-2/+7
| | | | | | AC_CHECK_HEADER instead of AC_HEADER_CHECK. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12832 dc483132-0cff-0310-8789-dd5450dbe970
* * krb.h: Modify krb_{mk,rd}_{priv,safe} prototypes to align withTom Yu2000-10-242-4/+10
| | | | | | CNS, mostly by making them take C_Block * arguments. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12804 dc483132-0cff-0310-8789-dd5450dbe970
* * k5-int.h: krb5_alt_method, krb5_etype_info_entry length fieldsEzra Peisach2000-10-174-22/+56
| | | | | | | | | | | | | | | | | | changed to unsigned int. KRB5_ETYPE_NO_LENGTH defined. Change prototype decode_krb5_sam_key to decode_krb5_enc_sam_key which is what the code says. krb5int_access - change timeouts, shifts, etc to unsigned ints. * krb5.hin: krb5_data, krb5_address, krb5_keyblock, krb5_checksum, krb5_authdata, and krb5_pa_data length fields changed to unsigned int. krb5_kt_get_name(), krb5_unparse_name_ext(), krb5_build_principal(), krb5_build_principal_ext(), krb5_build_principal_va() and krb5_read_password() all take or return unsigned int lengths. * port-sockets.h (SOCKET): Under unix, a socket is of type int. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12773 dc483132-0cff-0310-8789-dd5450dbe970
* * kparse.h: Add prototypes for fGetChar(), fGetParameterSet(),Ezra Peisach2000-10-172-0/+22
| | | | | | | ParmCompare(), FreeParameterSet(), fGetKeywordValue(), fGetToken(), fGetLiteral(), fUngetChar(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12771 dc483132-0cff-0310-8789-dd5450dbe970
* * krb5.hin, k5-int.h: krb5_cc_get_name now returns const char *Ezra Peisach2000-10-033-2/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12706 dc483132-0cff-0310-8789-dd5450dbe970
* * krb5.hin: Move prototype for krb5_gen_replay_name()Ezra Peisach2000-09-263-5/+11
| | | | | | | | | * k5-int.h: from here. The user_user application uses it already and it is exported on the Mac platform. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12681 dc483132-0cff-0310-8789-dd5450dbe970
* * k5-util.h (krb5_setedid): Add prototypeEzra Peisach2000-09-262-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12679 dc483132-0cff-0310-8789-dd5450dbe970
* * krb.h: Add prototypes for krb_life_to_time() andTom Yu2000-09-012-0/+14
| | | | | | krb_time_to_life(), as well as the KRB_NEVERDATE constant. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12643 dc483132-0cff-0310-8789-dd5450dbe970
* * krb5.hin: lr_type element of krb5_last_req_entry needs to be aEzra Peisach2000-08-072-1/+6
| | | | | | signed int instead of an unsigned char. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12607 dc483132-0cff-0310-8789-dd5450dbe970
* * krb.h: Add prototypes for tf_init(), tf_get_pname(),Ezra Peisach2000-08-022-0/+18
| | | | | | | tf_get_pinst(), tf_get_cred() and tf_close() which are all used by clients. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12600 dc483132-0cff-0310-8789-dd5450dbe970
* * krb.h: For get_pw_tkt() and unix_time_gmt_unixsec() add requiredEzra Peisach2000-07-212-2/+9
| | | | | | KRB5_DLLIMP and KRB4_CALLCONV declarations. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12580 dc483132-0cff-0310-8789-dd5450dbe970
* * krb5.hin: Fix calling convention for krb5_cc_get_typeDanilo Almeida2000-07-202-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12571 dc483132-0cff-0310-8789-dd5450dbe970
* * k5-int.h: Add krb5int_accessor() and related definitions.Danilo Almeida2000-07-192-0/+34
| | | | | | | | | | krb5int_accessor should be used by any code that is trying to use krb5 internal functions (such as krb524 and GSSAPI). The goal is to eventually make this function do nothing. That will only be accomplished when we fix our apps/libraries not to call internal functions. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12559 dc483132-0cff-0310-8789-dd5450dbe970
* krb.h: Add krb_in_tkt() prototypeDanilo Almeida2000-07-192-0/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12558 dc483132-0cff-0310-8789-dd5450dbe970
* * k5-int.h: Move prototypes for krb5 only internal functionsEzra Peisach2000-07-182-8/+7
| | | | | | | | krb5_libdefault_boolean, _krb5_use_dns_realm, _krb5_use_dns_kdc, _krb5_conf_boolean to the header files in the lib/krb5/{os,krb} directories. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12554 dc483132-0cff-0310-8789-dd5450dbe970
* * krb5.hin (krb5_cc_*): Replace macro definitions with function declarations.Ken Raeburn2000-07-143-51/+102
| | | | | | | (struct _krb5_ccache, struct _krb5_cc_ops): Declare only; move definitions... * k5-int.h: To here. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12543 dc483132-0cff-0310-8789-dd5450dbe970
* * krb.h: Add prototypes for get_pw_tkt() and unix_time_gmt_unixsec()Ezra Peisach2000-07-032-0/+9
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12528 dc483132-0cff-0310-8789-dd5450dbe970
* * k5-int.h: Add prototypes for krb5_libdefault_boolean,Ezra Peisach2000-07-032-0/+13
| | | | | | _krb5_use_dns_realm, _krb5_use_dns_kdc, _krb5_conf_boolean. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12527 dc483132-0cff-0310-8789-dd5450dbe970
* * krb5.hin (krb5_get_tgs_ktypes, krb5_free_ktypes): Fix linkage toKen Raeburn2000-06-272-1/+24
| | | | | | | | | | | | | | | be KRB5_CALLCONV. * k5-int.h (krb5int_cc_default): Fix linkage to be consistent with code. (Note: We should dump KRB5_DLLIMP.) me: * krb5.hin (krb5_recvauth_version, krb5_free_ktypes): Declare. dalmeida: git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12440 dc483132-0cff-0310-8789-dd5450dbe970
* * krb.h (krb4_swab16): Mask upper byte of input after shifting, in case theKen Raeburn2000-06-272-3/+18
| | | | | | | | | | input value is a signed short. (krb4_swab32): Mask high byte of input value after shifting, to avoid "time out of bounds" error when byte orders are different and low byte of timestamp has its high bit set and the timestamp is stored as a signed value. (krb_get_err_text): Don't use "errno" as an argument name. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12439 dc483132-0cff-0310-8789-dd5450dbe970
* Fix prototype for krb5int_cc_default so that the K5 library will compile on ↵Jeffrey Altman2000-06-062-1/+6
| | | | | | Windows git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12356 dc483132-0cff-0310-8789-dd5450dbe970
* Add bindir/sbindir changelog entryWilfredo Sanchez2000-05-311-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12329 dc483132-0cff-0310-8789-dd5450dbe970
* Also use SBINDIR for kpropdWilfredo Sanchez2000-05-311-2/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12316 dc483132-0cff-0310-8789-dd5450dbe970
* Use bindir and sbindir variables provided by configure rather thanWilfredo Sanchez2000-05-312-2/+6
| | | | | | assuming a standard layout in osconf.h. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12315 dc483132-0cff-0310-8789-dd5450dbe970
* 2000-5-19 Alexandra Ellwood <lxs@mit.edu>Alexandra Ellwood2000-05-192-0/+11
| | | | | | | | | | | * krb5-int.h: Added krb5int_cc_default. This function supports the Kerberos Login Library and pops up a dialog if the cache does not contain valid tickets. This is used to automatically get a tgt before obtaining service tickets. Note that this should be an internal function because callers don't expect krb5_cc_default to pop up a dialog! (We found this out the hard way :-) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12290 dc483132-0cff-0310-8789-dd5450dbe970
* 2000-5-18 Alexandra Ellwood <lxs@mit.edu>Alexandra Ellwood2000-05-192-1/+5
| | | | | | * macsock.h: local_addr_fallback_kludge defined to 0 again... fixed gethostname git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12288 dc483132-0cff-0310-8789-dd5450dbe970
* 2000-05-15 Jeffrey Altman <jaltman@columbia.edu>Jeffrey Altman2000-05-162-0/+26
| | | | | | | | | * krb5.hin -- Added new public function prototypes krb5_appdefault_string krb5_appdefault_boolean git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12259 dc483132-0cff-0310-8789-dd5450dbe970
* 2000-5-9 Alexandra Ellwood <lxs@mit.edu>Alexandra Ellwood2000-05-092-1/+7
| | | | | | | | * macsock.h: local_addr_fallback_kludge now defined to magic gethostaddr function in the Sockets Library, which does exactly what we want if the search domain is not specified. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12242 dc483132-0cff-0310-8789-dd5450dbe970
* 2000-4-13 Alexandra Ellwood <lxs@mit.edu>Alexandra Ellwood2000-04-131-0/+7
| | | | | | | | | * krb5-int.h: Added support to store a krb5_principal in the os_context along with the default ccache name (if known, this principal is the same as the last time we looked at the ccache. * win-mac.h: Set up the macintosh build to use KerberosLogin. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12168 dc483132-0cff-0310-8789-dd5450dbe970
* 2000-4-13 Alexandra Ellwood <lxs@mit.edu>Alexandra Ellwood2000-04-131-0/+2
| | | | | | * win-mac.h: Set up the macintosh build to use KerberosLogin. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12165 dc483132-0cff-0310-8789-dd5450dbe970
* 2000-4-13 Alexandra Ellwood <lxs@mit.edu>Alexandra Ellwood2000-04-131-5/+6
| | | | | | | | * krb5-int.h: Added support to store a krb5_principal in the os_context along with the default ccache name (if known, this principal is the same as the last time we looked at the ccache. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12164 dc483132-0cff-0310-8789-dd5450dbe970
* Fixed protos for krb5_locate_srv_*Miro Jurisic2000-03-262-3/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12141 dc483132-0cff-0310-8789-dd5450dbe970
* jaltman@columbia.edu Mar 24, 2000:Jeffrey Altman2000-03-241-6/+5
| | | | | | | In conjunction with the patch to alter the handling of "master" kdc's this patch updates the prototypes of the private functions. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12138 dc483132-0cff-0310-8789-dd5450dbe970
* Added krb5_free_default_realmMiro Jurisic2000-03-202-0/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12133 dc483132-0cff-0310-8789-dd5450dbe970
* Add krb5_get_prompt_types() functionalityDanilo Almeida2000-03-163-1/+23
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12118 dc483132-0cff-0310-8789-dd5450dbe970
* * k5-int.h: Update prototype to sync with changes in preauth2.cTom Yu2000-03-132-1/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12105 dc483132-0cff-0310-8789-dd5450dbe970
* added flags field to predicted_sam_response (fcusack)Ken Raeburn2000-02-072-2/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12008 dc483132-0cff-0310-8789-dd5450dbe970
* Frank Cusack changes, set 1, diffs 1-3 of 4Ken Raeburn2000-02-072-1/+13
| | | | | | | | Rename "sam_passcode" field to "sam_sad". Add data to predicted-sam-response structure, in part to (prepare to) help with replay detection. Fix some memory allocation problems. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12005 dc483132-0cff-0310-8789-dd5450dbe970
* * krb5.hin (krb5_decode_ticket): DeclareDanilo Almeida2000-02-012-0/+9
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11982 dc483132-0cff-0310-8789-dd5450dbe970
* * k5-int.h [!NEED_SOCKETS]: Declare (but do not define) struct sockaddr ifKen Raeburn2000-01-272-4/+33
| | | | | | | | | SOCK_DGRAM hasn't been defined yet. (krb5_locate_srv_conf, krb5_locate_srv_dns): Declare. (struct krb5_keytypes, struct krb5_cksumtypes): enc, hash, and keyhash provider structures pointed to are now const. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11968 dc483132-0cff-0310-8789-dd5450dbe970
* * krb5.hin (krb5_secure_config_files): Delete declaration.Ken Raeburn1999-12-152-3/+7
| | | | | | (krb5_init_secure_context): Declare. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11955 dc483132-0cff-0310-8789-dd5450dbe970
* MacOS: only #define MAXHOSTNAMELEN when not already definedMiro Jurisic1999-11-222-0/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11908 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Invoke KRB5_AC_INET6. Delete most of the 10-17 changes exceptKen Raeburn1999-11-022-1/+8
| | | | | | for inet_ntoa/aton, since they're in KRB5_AC_INET6 now. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11897 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Check for inet_{ntop,pton,ntoa,aton},Ken Raeburn1999-10-173-1/+9
| | | | | | | | getipnodeby{name,addr}, get{name,addr}info. * krb5.hin (ADDRTYPE_INET6): Define. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11862 dc483132-0cff-0310-8789-dd5450dbe970
* copyright notice updates from 1.1 branchKen Raeburn1999-09-2427-28/+112
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11853 dc483132-0cff-0310-8789-dd5450dbe970
* install port-sockets.h for krb.h to useKen Raeburn1999-09-212-0/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11841 dc483132-0cff-0310-8789-dd5450dbe970
* * osconf.h (KPASSWD_PORTNAME): DefineKen Raeburn1999-09-212-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11840 dc483132-0cff-0310-8789-dd5450dbe970
* Remove #define HAVE_STRING_H from MacOS part of win-mac.h (oops)Miro Jurisic1999-09-132-2/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11807 dc483132-0cff-0310-8789-dd5450dbe970