summaryrefslogtreecommitdiffstats
path: root/src/lib/win_glue.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix Windows buildGreg Hudson2010-11-251-20/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Repair the Windows build. Tested with the prepare-on-Unix method. Some specific changes include: * Removed the IPC finalizer (no longer used after r20787) from ccapi/lib/ccapi_ipc.c, as it was creating a difficult dependency chain for the pingtest build in ccapi/test. Also updated pingtest to use the k5_ipc_stream interfaces since cci_stream is gone. * Reverted the apparently non-functional r20277. * klist -V prints just "Kerberos for Windows", since it has no access to PACKAGE_NAME and PACKAGE_VERSION from autoconf. This should be addressed correctly. * krb5, telnet, gssftp, and NIM are removed from the build. * Some files had CRLFs; these were replaced with LFs and the svn:eol-style property set on the files. Otherwise the CRLFs became CRCRLFs after the zip transfer. * Windows does not have opendir/readdir, so added Windows code to prof_parse.c for includedir. Probable fodder for a libkrb5support portability shim. ticket: 6826 target_version: 1.9 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24533 dc483132-0cff-0310-8789-dd5450dbe970
* make mark-cstyleTom Yu2009-10-311-9/+9
| | | | | | make reindent git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23100 dc483132-0cff-0310-8789-dd5450dbe970
* Move WSAStartup/WSACleanup from DllMain to krb5_init_ctx/krb5_free_ctxJeffrey Altman2005-04-231-43/+0
| | | | | | | | | WSAStartup/WSACleanup cannot be called from DllMain without risking a deadlock when FreeLibrary(). ticket:2980 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17200 dc483132-0cff-0310-8789-dd5450dbe970
* Delete definitions of unused macros NEED_SOCKETS and NEED_LOWLEVEL_IOKen Raeburn2005-04-131-1/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17177 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (SLIBS, SDEF, S_GLUE, COMERR_GLUE, PROF_GLUE, SGLUE): NewKen Raeburn2004-06-181-18/+70
| | | | | | | | | | | | | | | | | | | | variables. (NO_GLUE): Deleted. (CGLUE, PGLUE): Use new separate glue files instead of no_glue. (SRES) [WIN32]: New variable. ($(SRES), $(SLIB)) [WIN32]: New targets. ($(CLIB), $(PLIB), $(KLIB), $(GLIB)) [WIN32]: Depend on and link against $(SLIB) too. ($(SDEF)): New target. Generate Windows export list from common symbol list. ($(COMERR_GLUE), $(PROF_GLUE), $(S_GLUE)): New targets. * win_glue.c (control): Reference add/remove_error_table only if building for krb4 library. Add calls to library init/fini functions for other libraries. For support library, also call a hook function on DLL_THREAD_DETACH. If no recognized library-specific macro is defined, don't compile. (DllMain): Do call control() on DLL_THREAD_DETACH. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16487 dc483132-0cff-0310-8789-dd5450dbe970
* Update Windows build for kadm_err.*Tom Yu2002-12-031-0/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15023 dc483132-0cff-0310-8789-dd5450dbe970
* Remove references to kadm_err.et for now, since the requisite changesTom Yu2002-11-191-2/+0
| | | | | | have not yet been committed. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15013 dc483132-0cff-0310-8789-dd5450dbe970
* Danilo also says we can get rid of _MSDOS (Win16) tests, and explicit ↵Ken Raeburn2001-10-061-7/+7
| | | | | | FAR/NEAR specs git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13786 dc483132-0cff-0310-8789-dd5450dbe970
* pullup from 1.2 branchKen Raeburn2000-06-271-12/+22
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12442 dc483132-0cff-0310-8789-dd5450dbe970
* Only do version checking once per use of the DLLDanilo Almeida1999-06-081-0/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11494 dc483132-0cff-0310-8789-dd5450dbe970
* win_glue.c (control): Call krb5_stdcc_shutdown when detaching the krb5Theodore Tso1999-03-311-1/+4
| | | | | | | | | library. Makefile.in: Remove reference to the windows Krbcc32.dll library, since this is now dynamically loaded. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11332 dc483132-0cff-0310-8789-dd5450dbe970
* Add checks so that code doesn't bomb out if the version resource isTheodore Tso1997-10-221-0/+9
| | | | | | missing a Title or Version record. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10242 dc483132-0cff-0310-8789-dd5450dbe970
* Write special case hack for the SAP kerberos libraries since we can'tTheodore Tso1997-05-021-2/+7
| | | | | | | make the version server code correctly read out the version resource from SAPGUI.EXE for some reason.... git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10082 dc483132-0cff-0310-8789-dd5450dbe970
* win_glue.c: Add code to get the version resource from the callingTheodore Tso1997-04-291-3/+140
| | | | | | application and use that to call the Version server. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10078 dc483132-0cff-0310-8789-dd5450dbe970
* krb5_16.def krb5_32.def: Do not export krb5_init_ets/krb5_finish_etsRichard Basch1997-02-201-78/+77
| | | | | | | | win_glue.c: Re-arranged code to avoid duplication. Initialize kadm and prof error tables for krb5. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9925 dc483132-0cff-0310-8789-dd5450dbe970
* krb4_16.def krb4_32.def: Export definitions for krb4 library (win16/win32)Richard Basch1997-02-181-31/+64
| | | | | | | | krb5_16.def krb5_32.def: Additional exports needed by krb4 library. win_glue.c: support krb4 library Makefile.in: Build krb4 library (win16/win32) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9885 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in: build comerr dllRichard Basch1997-02-151-3/+79
| | | | | | | | | comerr16.def comerr32.def: New definition files for Windows comerr library krb5_16.def krb5_32.def: Removed comerr exports win_glue.c: win32 dll entry/exit code added gssapi32.def krb5_32.def: Removed obsolete WEP & LibMain exports git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9875 dc483132-0cff-0310-8789-dd5450dbe970
* Change the timebomb to be June 1, 1997. Make the timebomb exit theTheodore Tso1996-12-211-32/+35
| | | | | | application more gracefully. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9670 dc483132-0cff-0310-8789-dd5450dbe970
* Added TIMEBOMB_INFO string which tells the user the URL to look forTheodore Tso1996-07-131-3/+6
| | | | | | more information about getting the new version of the product. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8705 dc483132-0cff-0310-8789-dd5450dbe970
* New routine which does the timebomb and version server checking.Theodore Tso1996-07-111-39/+70
| | | | | | | | Windows 3.1 doesn't allow you to do any messaging calls in LibMain, so the timebomb and version server code was moved to krb5_win_do_init(), which is called by krb5_init_context(). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8678 dc483132-0cff-0310-8789-dd5450dbe970
* win_glue.c: Add a quick hack so we can time-bomb the libkrb5.dll andTheodore Tso1996-07-101-1/+43
| | | | | | | | | sapkrb5.dll when we compile them at MIT. Makefile.in (sap_glue.obj): Build the sapkrb5.dll with the timebomb enabled (since we couldn't get the version server code working). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8651 dc483132-0cff-0310-8789-dd5450dbe970
* Fix typos for SAPKRB5.DLL supportTheodore Tso1996-06-201-2/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8419 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in (lib-windows): Add production rule for sapkrb5.dll. Don'tTheodore Tso1996-06-121-0/+64
| | | | | | | | | | include config/windows.in, since that's included by wconfig. win_glue.c: Add a quick hack for krb5-SAP so that we call the version server --- this is conditionalized on SAP_VERSERV, which is only defined when we build sapkrb5.dll. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8298 dc483132-0cff-0310-8789-dd5450dbe970
* Added note: Note that calls to WSAStartup and WSACleanup must be inTheodore Tso1996-03-011-0/+7
| | | | | | | matched pairs. If there is a missing WSACleanup call when a program exits, under Lan Workplace, the name resolver will stop working. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7578 dc483132-0cff-0310-8789-dd5450dbe970
* Make sure WSACleanup() is called when the DLL exitsTheodore Tso1996-02-291-0/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7575 dc483132-0cff-0310-8789-dd5450dbe970
* Changes for the PC due to tytso's changing the include structureKeith Vetter1995-04-201-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5405 dc483132-0cff-0310-8789-dd5450dbe970
* Added 3 new files and changed the makefile in lib to be able to make a DLLKeith Vetter1995-03-161-0/+54
on the PC out of the source in crypto, krb5 and util\et. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5130 dc483132-0cff-0310-8789-dd5450dbe970