aboutsummaryrefslogtreecommitdiff
path: root/src/lib/win_glue.c
AgeCommit message (Collapse)AuthorFilesLines
2009-10-31make mark-cstyleTom Yu1-9/+9
make reindent git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23100 dc483132-0cff-0310-8789-dd5450dbe970
2005-04-23Move WSAStartup/WSACleanup from DllMain to krb5_init_ctx/krb5_free_ctxJeffrey Altman1-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
2005-04-13Delete definitions of unused macros NEED_SOCKETS and NEED_LOWLEVEL_IOKen Raeburn1-1/+0
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17177 dc483132-0cff-0310-8789-dd5450dbe970
2004-06-18* Makefile.in (SLIBS, SDEF, S_GLUE, COMERR_GLUE, PROF_GLUE, SGLUE): NewKen Raeburn1-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
2002-12-03Update Windows build for kadm_err.*Tom Yu1-0/+2
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15023 dc483132-0cff-0310-8789-dd5450dbe970
2002-11-19Remove references to kadm_err.et for now, since the requisite changesTom Yu1-2/+0
have not yet been committed. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15013 dc483132-0cff-0310-8789-dd5450dbe970
2001-10-06Danilo also says we can get rid of _MSDOS (Win16) tests, and explicit ↵Ken Raeburn1-7/+7
FAR/NEAR specs git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13786 dc483132-0cff-0310-8789-dd5450dbe970
2000-06-27pullup from 1.2 branchKen Raeburn1-12/+22
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12442 dc483132-0cff-0310-8789-dd5450dbe970
1999-06-08Only do version checking once per use of the DLLDanilo Almeida1-0/+4
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11494 dc483132-0cff-0310-8789-dd5450dbe970
1999-03-31win_glue.c (control): Call krb5_stdcc_shutdown when detaching the krb5Theodore Tso1-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
1997-10-22Add checks so that code doesn't bomb out if the version resource isTheodore Tso1-0/+9
missing a Title or Version record. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10242 dc483132-0cff-0310-8789-dd5450dbe970
1997-05-02Write special case hack for the SAP kerberos libraries since we can'tTheodore Tso1-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
1997-04-29win_glue.c: Add code to get the version resource from the callingTheodore Tso1-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
1997-02-20krb5_16.def krb5_32.def: Do not export krb5_init_ets/krb5_finish_etsRichard Basch1-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
1997-02-18krb4_16.def krb4_32.def: Export definitions for krb4 library (win16/win32)Richard Basch1-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
1997-02-15Makefile.in: build comerr dllRichard Basch1-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
1996-12-21Change the timebomb to be June 1, 1997. Make the timebomb exit theTheodore Tso1-32/+35
application more gracefully. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9670 dc483132-0cff-0310-8789-dd5450dbe970
1996-07-13Added TIMEBOMB_INFO string which tells the user the URL to look forTheodore Tso1-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
1996-07-11New routine which does the timebomb and version server checking.Theodore Tso1-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
1996-07-10win_glue.c: Add a quick hack so we can time-bomb the libkrb5.dll andTheodore Tso1-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
1996-06-20Fix typos for SAPKRB5.DLL supportTheodore Tso1-2/+2
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8419 dc483132-0cff-0310-8789-dd5450dbe970
1996-06-12Makefile.in (lib-windows): Add production rule for sapkrb5.dll. Don'tTheodore Tso1-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
1996-03-01Added note: Note that calls to WSAStartup and WSACleanup must be inTheodore Tso1-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
1996-02-29Make sure WSACleanup() is called when the DLL exitsTheodore Tso1-0/+1
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7575 dc483132-0cff-0310-8789-dd5450dbe970
1995-04-20Changes for the PC due to tytso's changing the include structureKeith Vetter1-1/+1
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5405 dc483132-0cff-0310-8789-dd5450dbe970
1995-03-16Added 3 new files and changed the makefile in lib to be able to make a DLLKeith Vetter1-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