Commit Graph

14520 Commits

Author SHA1 Message Date
Asanka Herath
67e1aa5109 Need a DllMain in libkrb5 for path resolution 2009-11-24 10:19:49 -08:00
Asanka Herath
6073ca9a28 Add portable path tokens
Add USERCONFIG, COMMONCONFIG, LIBDIR, BINDIR, LIBEXEC, SBINDIR tokens.
2009-11-24 10:19:49 -08:00
Asanka Herath
93445a8133 Don't use Windows specific path tokens in lib/krb5/config_file.c 2009-11-24 10:19:49 -08:00
Asanka Herath
4634af9078 Consistent use of SOCKET data type in lib/krb5 2009-11-24 10:19:49 -08:00
Asanka Herath
bd669f10eb Build dll.obj and don't build KRB4 specific targets if not building KRB4 2009-11-24 10:18:20 -08:00
Asanka Herath
c6b8fad5dc Consistency updates for lib/kadm5 and don't check fd_set size if it's not necessary 2009-11-24 10:18:20 -08:00
Asanka Herath
a79bf3464d Build libhx509 as a .dll by default 2009-11-24 10:18:20 -08:00
Asanka Herath
204789d408 Build libhdb as a .dll by default 2009-11-24 10:18:19 -08:00
Asanka Herath
348bd51d0a Build libhrypto as a .dll by default 2009-11-24 10:18:19 -08:00
Asanka Herath
988792b3f7 Build system update for lib/gssapi and new exports.def 2009-11-24 10:18:19 -08:00
Asanka Herath
59ae14e814 Consistency fixes for lib/com_err 2009-11-24 10:18:19 -08:00
Asanka Herath
a70de39e9c Update exports.def and build rules for lib/asn1
The previous rules didn't export all the symbols we needed.
2009-11-24 10:18:19 -08:00
Asanka Herath
aa058a6a63 Typos and fixes for init_c.c to not include stuff we don't have 2009-11-24 10:17:50 -08:00
Asanka Herath
06179e66ad Additional include files for krb5 2009-11-24 10:17:50 -08:00
Asanka Herath
28023be15a Add setenv() to libroken 2009-11-24 10:17:50 -08:00
Asanka Herath
9072a62729 Build libasn1 as a DLL
In addition to building libasn1 as a DLL also add a build target
so that a list of exports can be generated and used to check with
the .def file whether any exports are being left out.
2009-11-24 10:17:50 -08:00
Asanka Herath
4be30644fb Update for wind/NTMakefile 2009-11-24 10:17:49 -08:00
Asanka Herath
475f6ba509 Dependency fix for vers/NTMakefile 2009-11-24 10:17:49 -08:00
Asanka Herath
68e06566cc Use ROKEN_CPP_START and ROKEN_CPP_END instead of __BEGIN_DECLS/__END_DECLS 2009-11-24 10:17:49 -08:00
Asanka Herath
418dd986e5 Add bit-types to roken.h so that we don't need to include krb5-types.h everywhere 2009-11-24 10:17:18 -08:00
Asanka Herath
49b261efdc Formalize the simple_exec*() API 2009-11-24 10:17:18 -08:00
Asanka Herath
7ee1695f12 Add cloexec() and xfree() to libroken 2009-11-24 10:16:49 -08:00
Asanka Herath
5dd6355e56 libkrb5 .def file 2009-11-24 10:16:49 -08:00
Asanka Herath
191361fdf5 Calling convention change 2009-11-24 10:16:49 -08:00
Asanka Herath
78a237e3cc No dirfd() on Windows 2009-11-24 10:16:49 -08:00
Asanka Herath
6ba6a17ebd Do things the WinSock way 2009-11-24 10:16:49 -08:00
Asanka Herath
d6adaa775f No geteuid() on Windows 2009-11-24 10:16:49 -08:00
Asanka Herath
77fee77d0e Use path tokens in krb5_config_parse_file_multi() 2009-11-24 10:16:22 -08:00
Asanka Herath
39d89e9fca Export .def for libkadm5srv 2009-11-24 10:15:14 -08:00
Asanka Herath
c53686e69b More KRB5_DEPRECATED fixes 2009-11-24 10:15:14 -08:00
Asanka Herath
c2f634d9ad KRB5_DEPRECATED is a storage class specifier 2009-11-24 10:12:45 -08:00
Asanka Herath
1bfde92838 Update krb5/NTMakefile 2009-11-24 10:12:45 -08:00
Asanka Herath
6a88c16dea Use wait_for_process() to wait for processes created with simple_exec* 2009-11-24 10:12:45 -08:00
Asanka Herath
bf5b934b06 Include roken.h before including other Heimdal headers 2009-11-24 10:12:45 -08:00
Asanka Herath
d84119813e No AF_UNIX on Windows and no SIGPIPE and SIGXCPU 2009-11-24 10:12:44 -08:00
Asanka Herath
246e60891c NTMakefile for kadm5 port 2009-11-24 10:12:44 -08:00
Asanka Herath
21775167c4 No dirfd() support on Windows 2009-11-24 10:12:44 -08:00
Asanka Herath
588d1e081f Update hx509/NTMakefile
Better dependency management for generated files.
2009-11-24 10:12:44 -08:00
Asanka Herath
dd09636632 Move variable definitions above code
VC still doesn't deal with variable definitions mixed with code.
2009-11-24 10:12:44 -08:00
Asanka Herath
ffb0fdb9c6 Better dependencty tracking for hdb/NTMakefile and build tests 2009-11-24 10:12:44 -08:00
Asanka Herath
adab1b3cc1 Move HC_DEPRECATED_CRYPTO to front
The HC_DEPRECATED_CRYPTO macro is used as a storage class specifier
on Windows, and hence must be placed before the return type for a
function declaration.
2009-11-24 10:12:44 -08:00
Asanka Herath
c1a6ab1d55 Update hcrypto/NTMakefile 2009-11-24 10:11:16 -08:00
Asanka Herath
ce7d784648 Avoid using 'interface' as a variable name 2009-11-24 10:11:16 -08:00
Asanka Herath
72537c1f83 Update gssapi/NTMakefile 2009-11-24 10:11:16 -08:00
Asanka Herath
041b5c6292 Update asn/NTMakefile
Be explicit about dependencies.  A subsequent invocation of the NTMakefile
should correctly deduce dependencies for generated files instead of
assuming they are always out of date.
2009-11-24 10:11:16 -08:00
Asanka Herath
dc0b2b8648 Missing foo_LIB_FUNCTION fixes 2009-11-24 10:11:15 -08:00
Asanka Herath
6ca5815e3d Socket functions should use SOCKET instead of int 2009-11-24 10:11:15 -08:00
Asanka Herath
59a4c6b369 Missing roken.h declarations for Visual C and Windows 2009-11-24 10:11:15 -08:00
Asanka Herath
483da4ae9b (mini_identd_addrinfo) Use closesocket() to close sockets
Also, set closed sockets to INVALID_SOCKET so that they won't be
closed again.
2009-11-24 10:11:15 -08:00
Asanka Herath
867a1533be (arg_match_long) Use UNREACHABLE() macro to mark up unreachable code 2009-11-24 10:11:15 -08:00