summaryrefslogtreecommitdiffstats
path: root/src/include
Commit message (Collapse)AuthorAgeFilesLines
* Windows global stuff:Keith Vetter1995-04-1424-355/+374
| | | | | | | | | 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-064-49/+54
| | | | | | | | | | | | | | | | | | | | | | (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
* Fixed low-level i/o routine (dup) not being STDC on the PCKeith Vetter1995-04-012-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5337 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in (CONFIG_RULES): ReplacedTheodore Tso1995-03-312-0/+5
| | | | | | (Why was this removed?) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5325 dc483132-0cff-0310-8789-dd5450dbe970
* Commit on the whole tree to make a checkpoint for a working windows worldKeith Vetter1995-03-312-0/+16
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5315 dc483132-0cff-0310-8789-dd5450dbe970
* Added capability for windows version to read default values out of an ini fileKeith Vetter1995-03-294-1/+18
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5305 dc483132-0cff-0310-8789-dd5450dbe970
* Moved the differing parts of osconf.win into osconf.hKeith Vetter1995-03-293-89/+10
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5304 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (KRB5_HEADERS, install): `Make install' now works.John Gilmore1995-03-294-1/+16
| | | | | | | * configure.in (WITH_KRB5ROOT): For `make install'. * krb5.h: Include "k5-errors.h" rather than "errors.h". git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5294 dc483132-0cff-0310-8789-dd5450dbe970
* * k5-errors.h: Rename errors.h (which duplicated a standard MacJohn Gilmore1995-03-297-0/+588
| | | | | | | | header name, causing a problem). * AddressXlation.h, GetMyIPAddr.h, MacTCPCommonTypes.h, TCPPB.h, UDPPB.h: Add MacTCP header files. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5293 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (KRB5_HEADERS, install): Account for file renames.John Gilmore1995-03-296-20/+94
| | | | | | | | | | | | (all-mac): Add. * configure.in (CONFIG_RULES): Remove. (krb5_sigtype): Define as either void or int. * encryption.h: Insert parentheses in macros to avoid mis-expansion. * k5-config.h: Further parameterize socket support. * macsock.h: Support connect(), recv(), send(), getmyipaddr(). (WSAGetLastError): Fix typo -- there's no argument to this macro. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5292 dc483132-0cff-0310-8789-dd5450dbe970
* * func-proto.h (krb5_rd_req(), krb5_rd_req_decode(), krb5_mk_rep(),Chris Provenzano1995-03-272-35/+31
| | | | | | | | | 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
* adm_defs.h (ADM5_DEFAULT_PORT): Add definition of defaultTheodore Tso1995-03-243-8/+24
| | | | | | | | | | administration port. Makefile.in (install): Delete the destination header files before copying in the new ones. Also install autoconf.h. Only install header files if the header file has changed. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5230 dc483132-0cff-0310-8789-dd5450dbe970
* PC config changes due to changes in include sys/types.hKeith Vetter1995-03-222-18/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5195 dc483132-0cff-0310-8789-dd5450dbe970
* Part of low-level open file PC bug and moved some prototypes into worldKeith Vetter1995-03-224-4/+17
| | | | | | accessible files. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5181 dc483132-0cff-0310-8789-dd5450dbe970
* Fix comment that referred to STDARG_PROTOTYPESJohn Gilmore1995-03-192-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5175 dc483132-0cff-0310-8789-dd5450dbe970
* * krb5.h: Move <sys/types> and u_long (etc) code to krb5/k5-config.h.John Gilmore1995-03-183-13/+8
| | | | | | | It is needed there when NEED_SOCKETS is defined. * Makefile.in (all-mac, clean-mac): Add. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5156 dc483132-0cff-0310-8789-dd5450dbe970
* * k5-config.h: Move <sys/types.h> handling from ../krb5.h toJohn Gilmore1995-03-183-1/+45
| | | | | | | | | | | here, because we need <sys/types.h> or the u_* types to be defined before we include the Unix socket include files a little later in k5-config.h. We actually add this code twice, once in the MSDOS section and once in the Unix/Mac section. (NEED_SOCKETS): Also include <net/if.h>, for localaddr.c. * Makefile.in (clean-mac): Add. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5155 dc483132-0cff-0310-8789-dd5450dbe970
* Delete redundant definitions defined in pre/config.inTheodore Tso1995-03-172-4/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5150 dc483132-0cff-0310-8789-dd5450dbe970
* Delete redundant definitions that already defined in pre/config.inTheodore Tso1995-03-172-8/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5149 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Replace nonstandard CHECK_STDARG withJohn Gilmore1995-03-175-4/+235
| | | | | | | | | | | | | | | AC_CHECK_HEADERS. Also check for header file macsock.h, which is a dummy test -- it's false on Unix and PC's, but on the Mac we hand-configure it to be true, to indicate that we want Mac socket support rather than Unix socket support. * base-defs.h, k5-config.h: Use HAVE_STDARG_H, not STDARG_PROTOTYPES. * k5-config.h (NEED_SOCKETS): Add new section which brings in socket include files for the appropriate compilation environment (Mac or Unix; Windows already did this). * macsock.h: New include file, derived from Cygnus Network Security Mac K4 release, for simulating sockets under MacTCP. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5140 dc483132-0cff-0310-8789-dd5450dbe970
* Include file changes needed for error table stuffKeith Vetter1995-03-162-4/+10
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5133 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile now recurses into krb5 directory on the PCKeith Vetter1995-03-162-1/+29
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5131 dc483132-0cff-0310-8789-dd5450dbe970
* Some windows i/o stuff and moved 2 prototypes to func-proto.hKeith Vetter1995-03-154-8/+23
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5127 dc483132-0cff-0310-8789-dd5450dbe970
* Removed definition of FD_SETSIZE, FD_SET, FD_CLR, FD_ISSET, andTheodore Tso1995-03-102-9/+6
| | | | | | | FD_ZERO. Defining them in favor of using the system include files is almost always wrong. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5106 dc483132-0cff-0310-8789-dd5450dbe970
* * krb5.h Added empty structure declaration of krb5_auth_contextChris Provenzano1995-03-103-1/+12
| | | | | | * k5-int.h Moved #include "adm_defs.h" to krb5.h git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5096 dc483132-0cff-0310-8789-dd5450dbe970
* * func-proto.h (krb5_mk_req(), krb5_mk_req_extended(), krb5_rd_rep(),Chris Provenzano1995-03-104-45/+121
| | | | | | | | | | | | | | | | | | 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
* * Makefile.in (all-windows): tabs, not spaces.Mark Eichin1995-03-092-2/+6
| | | | | | from ezra. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5094 dc483132-0cff-0310-8789-dd5450dbe970
* PC porting: more prototyping, defines for overflow checking on the PC andKeith Vetter1995-03-078-20/+185
| | | | | | numerous PC additions to k5-config.h. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5080 dc483132-0cff-0310-8789-dd5450dbe970
* Make include files begin to work on the MacintoshJohn Gilmore1995-03-033-18/+34
| | | | | | | | | | * k5-int.h: Remove krb5/ from #includes. Rearrange #includes so that time_t is defined before kdb.h is included. * krb5.h: Include k5-config.h first, so its #define's can control the rest of the file. If <sys/types.h> is not present, define u_long, etc, manually. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5070 dc483132-0cff-0310-8789-dd5450dbe970
* Make include files start to work on the MacintoshJohn Gilmore1995-03-034-2/+17
| | | | | | | | * configure.in: Add checks for sys/types.h and sys/stat.h. * k5-config.h: Remove krb5/ from #include. * sysincl.h: Avoid <sys/types.h>. Conditional-include <sys/stat.h>. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5069 dc483132-0cff-0310-8789-dd5450dbe970
* Changed NEED_WINSOCK_H to NEED_SOCKETSKeith Vetter1995-03-022-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5065 dc483132-0cff-0310-8789-dd5450dbe970
* Fixed up a const attribute on krb5_send_tgs in func-proto.hKeith Vetter1995-03-022-1/+5
| | | | 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-023-30/+52
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5055 dc483132-0cff-0310-8789-dd5450dbe970
* Changes for rcache on the PC, mostly adding INTERFACE to the prototypes. AlsoKeith Vetter1995-03-014-18/+892
| | | | | | added new file winsock.h for windows socket routines. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5050 dc483132-0cff-0310-8789-dd5450dbe970
* Remove declaration of malloc() and realloc()Theodore Tso1995-03-012-2/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5048 dc483132-0cff-0310-8789-dd5450dbe970
* Only define labs(x) -> abs(x) if labs() is not defined elsewhere.Theodore Tso1995-03-013-0/+9
| | | | | | | (This really shouldn't be here at all, but is the expedient way to deal with lack of labs().) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5047 dc483132-0cff-0310-8789-dd5450dbe970
* Change config.h -> k5-config.h and free.h -> k5-free.h to reflectTheodore Tso1995-03-012-2/+7
| | | | | | renamed header files for Mac/PC port. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5042 dc483132-0cff-0310-8789-dd5450dbe970
* * krb5.h: Rename to ../krb5.h so it can be #included by end usersJohn Gilmore1995-02-282-330/+1
| | | | | | | | | without the use of slashes or extra -I options. First step in making it stand alone without a train of a dozen other include files tagging along behind. * configure.in (AC_INIT): Use another file (not krb5.h) as src test. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5033 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (osconf.h): Remove temp file osconf.newJohn Gilmore1995-02-288-9/+27
| | | | | | | | | | | | | | | | * base-defs.h, dbm.h, error_def.h, sysincl.h: Avoid #include <krb5/...> form; use "..." form. * config.h: Rename to k5-config.h. This is too common a name, now that we use -I..../include/krb5. * free.h: Rename to k5-free.h. * configure.in (AC_INIT): Use another file (not krb5.h) as src test. [Didn't check in the removal of <krb5/krb5.h> yet, til I check in the other changes throughout the tree that make it work.] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5004 dc483132-0cff-0310-8789-dd5450dbe970
* * k5-int.h: Remove commented-out <widen.h> and <narrow.h>.John Gilmore1995-02-283-32/+336
| | | | | | | | * krb5.h: Same as old krb5/krb5.h, as a start. Gradually things that don't need to be exported will be moved from krb5.h into k5-int.h (and vice verse for e.g. function prototypes). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5003 dc483132-0cff-0310-8789-dd5450dbe970
* Converted the krb5/krb directory to work under windows. Mostly added theKeith Vetter1995-02-274-13/+34
| | | | | | 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-232-4/+13
| | | | | | | | | 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 krb/keytab to work on the PC. Mostly just adding the windowsKeith Vetter1995-02-222-9/+13
| | | | | | INTERFACE keyword to all functions and prototypes. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4973 dc483132-0cff-0310-8789-dd5450dbe970
* Converted krb5/des425 and krb5/asn.1 to the PCKeith Vetter1995-02-223-46/+56
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4970 dc483132-0cff-0310-8789-dd5450dbe970
* * config.h: get krb5/autoconf.h.Mark Eichin1995-02-213-3/+10
| | | | | | | | | * Makefile.in (KRB5_HEADERS): add config.h, remove rsa-md4.h and crc-32.h which aren't here anymore. (changes suggested by ezra peisach) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4962 dc483132-0cff-0310-8789-dd5450dbe970
* Converted krb5/free to the PC. Added windows INTERFACE keyword to theKeith Vetter1995-02-213-114/+131
| | | | | | 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
* * configure.in: Flip again. Use AC_CHECK_HEADERS, but default theJohn Gilmore1995-02-214-15/+139
| | | | | | | | | | | | symbol-setting. This is Modern Autoconf Style. * config.h: Create from stock/config.h and stock/config.win. * Makefile.in (BUILT_HEADERS): Remove config.h. (CONF_REPLACE, CONFSRC, config.h rule): Remove. Config.h is a static header file, ever since imake died. Now it really is. (clean): Don't remove config.new any more. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4958 dc483132-0cff-0310-8789-dd5450dbe970
* * config.h, config.win: Remove; merge them both into ../config.h.John Gilmore1995-02-213-144/+5
| | | | | | Now that we aren't using imake, this isn't a generated header file. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4957 dc483132-0cff-0310-8789-dd5450dbe970
* Made the CRYPTO directories work on the PC by adding INTERFACE to all theKeith Vetter1995-02-218-22/+36
| | | | | | functions and prototypes, and updating the Makefile.in. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4956 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Use AC_HAVE_HEADER rather than AC_HEADER_CHECK.John Gilmore1995-02-172-2/+8
| | | | | | | (Fixes resulting #define names to HAVE_XXX rather than HAS_XXX, which is not only consistent but also matches what's in sysincl.h.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4952 dc483132-0cff-0310-8789-dd5450dbe970