$(NTMAKE_HEADERS)
$(CD) ..\..
-util_headers:
+util_headers: roken_headers
@echo ***** $@
$(DOCD) $(SRC)\util
$(CD) $(SRC)\util
$(NTMAKE_HEADERS)
$(CD) ..\..
+roken_headers:
+ @echo ***** $@
+ $(DOCD) $(SRC)\roken
+ $(CD) $(SRC)\roken
+ $(NTMAKE_HEADERS)
+ $(CD) ..\..
+
hcrypto_headers: util_headers
@echo ***** $@
$(DOCD) $(SRC)\crypto\hcrypto
$(NTMAKE)
$(CD) ..\..
-hcrypto: des
+hcrypto: roken
@echo ***** $@
$(DOCD) $(SRC)\crypto\hcrypto
$(CD) $(SRC)\crypto\hcrypto
$(NTMAKE)
$(CD) ..\..\..
+roken: des
+ @echo ***** $@
+ $(DOCD) $(SRC)\roken
+ $(CD) $(SRC)\roken
+ $(NTMAKE)
+ $(CD) ..\..
+
rx: hcrypto
@echo ***** $@
$(DOCD) $(SRC)\$@
#include <winsock2.h>
#include <ws2tcpip.h>
+#include <afsconfig.h>
#include <afs/param.h>
#include <afs/stds.h>
+#include <roken.h>
#include "TaAfsAdmSvrInternal.h"
#include <winsock2.h>
#include <ws2tcpip.h>
+#include <afsconfig.h>
#include <afs/param.h>
#include <afs/stds.h>
+#include <roken.h>
#include "TaAfsAdmSvrInternal.h"
#include <winsock2.h>
#include <ws2tcpip.h>
+#include <afsconfig.h>
#include <afs/param.h>
#include <afs/stds.h>
+#include <roken.h>
#include "TaAfsAdmSvrInternal.h"
#include <ws2tcpip.h>
extern "C" {
+#include <afsconfig.h>
#include <afs/param.h>
#include <afs/stds.h>
+#include <roken.h>
}
#include "TaAfsAdmSvrInternal.h"
#include <ws2tcpip.h>
extern "C" {
+#include <afsconfig.h>
#include <afs/param.h>
#include <afs/stds.h>
+#include <roken.h>
}
#include "TaAfsAdmSvrInternal.h"
#include <ws2tcpip.h>
extern "C" {
+#include <afsconfig.h>
#include <afs/param.h>
#include <afs/stds.h>
+#include <roken.h>
}
#include "TaAfsAdmSvrInternal.h"
#include <ws2tcpip.h>
extern "C" {
+#include <afsconfig.h>
#include <afs/param.h>
#include <afs/stds.h>
+#include <roken.h>
}
#include "TaAfsAdmSvrInternal.h"
#include <ws2tcpip.h>
extern "C" {
+#include <afsconfig.h>
#include <afs/param.h>
#include <afs/stds.h>
+#include <roken.h>
}
#include "TaAfsAdmSvrInternal.h"
#include <ws2tcpip.h>
extern "C" {
+#include <afsconfig.h>
#include <afs/param.h>
#include <afs/stds.h>
+#include <roken.h>
}
#include "TaAfsAdmSvrInternal.h"
#include <ws2tcpip.h>
extern "C" {
+#include <afsconfig.h>
#include <afs/param.h>
#include <afs/stds.h>
+#include <roken.h>
}
#include "TaAfsAdmSvrInternal.h"
#include <ws2tcpip.h>
extern "C" {
+#include <afsconfig.h>
#include <afs/param.h>
#include <afs/stds.h>
+
+#include <roken.h>
}
#include <WINNT/afsapplib.h>
#include <ws2tcpip.h>
extern "C" {
+#include <afsconfig.h>
#include <afs/param.h>
#include <afs/stds.h>
+#include <roken.h>
}
#include <WINNT/afsapplib.h>
#include <ws2tcpip.h>
extern "C" {
+#include <afs/afsconfig.h>
#include <afs/param.h>
#include <afs/stds.h>
+#include <roken.h>
}
#include <WINNT/afsapplib.h>
#include <ws2tcpip.h>
extern "C" {
+#include <afsconfig.h>
#include <afs/param.h>
#include <afs/stds.h>
+#include <roken.h>
}
#include <WINNT/afsapplib.h>
#include <ws2tcpip.h>
extern "C" {
+#include <afsconfig.h>
#include <afs/param.h>
#include <afs/stds.h>
+#include <roken.h>
}
#include <WINNT/afsclass.h>
#include <ws2tcpip.h>
extern "C" {
+#include <afsconfig.h>
#include <afs/param.h>
#include <afs/stds.h>
+#include <roken.h>
}
#include <WINNT/afsclass.h>
#include <ws2tcpip.h>
extern "C" {
+#include <afsconfig.h>
#include <afs/param.h>
#include <afs/stds.h>
+#include <roken.h>
}
#include <WINNT/afsclass.h>
#include <ws2tcpip.h>
extern "C" {
+#include <afsconfig.h>
#include <afs/param.h>
#include <afs/stds.h>
+#include <roken.h>
}
#include <WINNT/afsclass.h>
#include <ws2tcpip.h>
extern "C" {
+#include <afsconfig.h>
#include <afs/param.h>
#include <afs/stds.h>
+#include <roken.h>
}
#include <WINNT/afsclass.h>
#include <ws2tcpip.h>
extern "C" {
+#include <afsconfig.h>
#include <afs/param.h>
#include <afs/stds.h>
+#include <roken.h>
}
#include <WINNT/afsclass.h>
#include <ws2tcpip.h>
extern "C" {
+#include <afsconfig.h>
#include <afs/param.h>
#include <afs/stds.h>
+#include <roken.h>
}
#include <WINNT/afsclass.h>
#include <ws2tcpip.h>
extern "C" {
+#include <afsconfig.h>
#include <afs/param.h>
#include <afs/stds.h>
+#include <roken.h>
}
#include <WINNT/afsclass.h>
#include <ws2tcpip.h>
extern "C" {
+#include <afsconfig.h>
#include <afs/param.h>
#include <afs/stds.h>
+#include <roken.h>
}
#include <WINNT/afsclass.h>
#include <ws2tcpip.h>
extern "C" {
+#include <afsconfig.h>
#include <afs/param.h>
#include <afs/stds.h>
+#include <roken.h>
}
#include <WINNT/afsclass.h>
#include <ws2tcpip.h>
extern "C" {
+#include <afsconfig.h>
#include <afs/param.h>
#include <afs/stds.h>
+#include <roken.h>
}
#include <WINNT/afsclass.h>
#include <ws2tcpip.h>
extern "C" {
+#include <afsconfig.h>
#include <afs/param.h>
#include <afs/stds.h>
+#include <roken.h>
}
#include <WINNT/afsclass.h>
#include <ws2tcpip.h>
extern "C" {
+#include <afsconfig.h>
#include <afs/param.h>
#include <afs/stds.h>
+#include <roken.h>
}
#include <WINNT/afsclass.h>
CONF_DLLLIBS = \
$(DESTDIR)\lib\afs\afsutil.lib \
- $(DESTDIR)\lib\afs\afsreg.lib
+ $(DESTDIR)\lib\afs\afsreg.lib \
+ $(DESTDIR)\lib\afsroken.lib
$(CONF_DLLFILE): $(CONFOBJS) $(OUT)\libafsconf.res $(CONF_DLLLIBS)
$(DLLGUILINK) -def:libafsconf.def $(AFSD_SDKLIBS)
$(DESTDIR)\lib\afsrx.lib \
$(DESTDIR)\lib\afslwp.lib \
$(DESTDIR)\lib\libosi.lib \
- $(DESTDIR)\lib\libafsconf.lib
+ $(DESTDIR)\lib\libafsconf.lib \
+ $(DESTDIR)\lib\afsroken.lib
EXELIBS2 = \
$(DESTDIR)\lib\afsrpc.lib \
$(DESTDIR)\lib\afsdes.lib \
$(DESTDIR)\lib\afslwp.lib \
$(DESTDIR)\lib\libosi.lib \
- $(DESTDIR)\lib\libafsconf.lib
+ $(DESTDIR)\lib\libafsconf.lib \
+ $(DESTDIR)\lib\afsroken.lib
EXELIBS3 = \
$(DESTDIR)\lib\afs\afscmd.lib \
$(DESTDIR)\lib\libafsconf.lib \
$(DESTDIR)\lib\afs\afsreg.lib \
$(DESTDIR)\lib\afspthread.lib \
+ $(DESTDIR)\lib\afsroken.lib \
$(LANAHELPERLIB)
$(AFSD_EXEFILE): $(OUT)\afsd.obj $(AFSDOBJS) $(OUT)\afsd.res $(RXOBJS) $(AFSD_EXELIBS)
* This software has been released under the terms of the MIT License.
*/
+#include <afsconfig.h>
+#include <afs/param.h>
+#include <roken.h>
+
#include <windows.h>
#include <afskfw.h>
////////////////////////////////////////////////////////////////////
+#include <afsconfig.h>
+#include <afs/param.h>
+#include <roken.h>
+
#include <windows.h>
#include <stdarg.h>
#include <string.h>
//
/////////////////////////////////////////////////////////////////////
+#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
+
#include <afs/stds.h>
#include <windows.h>
* directory or online at http://www.openafs.org/dl/license10.html
*/
+#include <afsconfig.h>
#include <afs/param.h>
+
+#include <roken.h>
+
#include <afs/stds.h>
#include <afs/afs_args.h>
+#include <afsconfig.h>
+#include <afs/param.h>
+#include <roken.h>
+
#include <afs/stds.h>
#include <windows.h>
/* Prevent inclusion of des.h to avoid conflicts with des types */
#define NO_DES_H_INCLUDE
+#include <afsconfig.h>
+#include <afs/param.h>
+#include <roken.h>
+
#include <osilog.h>
#include <afs/ptserver.h>
#include <afs/ptuser.h>
* directory or online at http://www.openafs.org/dl/license10.html
*/
+#include <afsconfig.h>
+#include <afs/param.h>
+#include <roken.h>
+
#include "afslogon.h"
#include <io.h>
#include <lm.h>
#include <nb30.h>
-#include <afs/param.h>
#include <afs/stds.h>
#include <afs/pioctl_nt.h>
#include <afs/kautils.h>
* directory or online at http://www.openafs.org/dl/license10.html
*/
+#include <afsconfig.h>
#include <afs/param.h>
+
+#include <roken.h>
+
#include <afs/stds.h>
#include <windows.h>
* directory or online at http://www.openafs.org/dl/license10.html
*/
+#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
+
#include <afs/stds.h>
#include <windows.h>
* directory or online at http://www.openafs.org/dl/license10.html
*/
+#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
+
#include <afs/stds.h>
#include <windows.h>
* Thanks to Jan Jannink for B+ tree algorithms.
*/
+#include <afsconfig.h>
+#include <afs/param.h>
+#include <roken.h>
+
#include <windows.h>
#include <stdio.h>
#include <stdlib.h>
/* Copyright (C) 1994 Cazamar Systems, Inc. */
+#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
+
#include <afs/stds.h>
#include <windows.h>
* directory or online at http://www.openafs.org/dl/license10.html
*/
+#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
+
#include <afs/afs_args.h>
#include <afs/stds.h>
* directory or online at http://www.openafs.org/dl/license10.html
*/
+#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
+
#include <afs/stds.h>
#include <windows.h>
* directory or online at http://www.openafs.org/dl/license10.html
*/
+
+#include <afsconfig.h>
+#include <afs/param.h>
+#include <roken.h>
+
#include <windows.h>
#include <winsock2.h>
#include <shlwapi.h>
#include <WINNT\afssw.h>
#include <WINNT\afsreg.h>
-#include <afs/param.h>
#include <afs/stds.h>
#include <afs/cellconfig.h>
* directory or online at http://www.openafs.org/dl/license10.html
*/
+#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
+
#include <afs/stds.h>
#include <windows.h>
* directory or online at http://www.openafs.org/dl/license10.html
*/
+#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
+
#include <afs/stds.h>
#include <windows.h>
* directory or online at http://www.openafs.org/dl/license10.html
*/
+
+#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
+
#include <afs/stds.h>
#include <windows.h>
* directory or online at http://www.openafs.org/dl/license10.html
*/
+#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
+
#include <afs/stds.h>
#include <windows.h>
**
*/
+#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
+
#include <afs/stds.h>
#include <windows.h>
* directory or online at http://www.openafs.org/dl/license10.html
*/
+
+#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
+
#include <afs/stds.h>
#include <afs/cellconfig.h>
#include <windows.h>
+#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
+
#include <afs/stds.h>
#include <windows.h>
* directory or online at http://www.openafs.org/dl/license10.html
*/
+#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
+
#include <afs/stds.h>
#include <afs/cellconfig.h>
#include <afs/afs_consts.h>
+
+#include <afsconfig.h>
+#include <afs/param.h>
+#include <roken.h>
+
#include <windows.h>
#include <tchar.h>
#include "afsd.h"
* Copyright (c) 2008 - Secure Endpoints Inc.
*/
+
+#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
+
#include <afs/stds.h>
#include <windows.h>
* directory or online at http://www.openafs.org/dl/license10.html
*/
+#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
+
#include <afs/stds.h>
#include <windows.h>
* directory or online at http://www.openafs.org/dl/license10.html
*/
+#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
+
#include <afs/stds.h>
#include <windows.h>
* directory or online at http://www.openafs.org/dl/license10.html
*/
+#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
+
#include <afs/stds.h>
#include <windows.h>
* directory or online at http://www.openafs.org/dl/license10.html
*/
+
+#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
+
#include <afs/stds.h>
#include <windows.h>
* directory or online at http://www.openafs.org/dl/license10.html
*/
+#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
+
#include <afs/stds.h>
#include <errno.h>
* directory or online at http://www.openafs.org/dl/license10.html
*/
+#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
+
#include <afs/stds.h>
#include <windows.h>
* Notification API
*/
+#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
+
#include <afs/stds.h>
#include <windows.h>
* directory or online at http://www.openafs.org/dl/license10.html
*/
+#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
+
#include <afs/stds.h>
#include <windows.h>
* directory or online at http://www.openafs.org/dl/license10.html
*/
+#include <afsconfig.h>
#include <afs/param.h>
+
+#include <roken.h>
+
#include <afs/stds.h>
#include <windows.h>
* directory or online at http://www.openafs.org/dl/license10.html
*/
+#include <afsconfig.h>
#include <afs/param.h>
+
+#include <roken.h>
#include <afs/stds.h>
#include <afs/auth.h>
* directory or online at http://www.openafs.org/dl/license10.html
*/
+#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
+
#include <afs/stds.h>
#include <afs/com_err.h>
* directory or online at http://www.openafs.org/dl/license10.html
*/
+#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
+
#include <afs/stds.h>
#include <windows.h>
* SOFTWARE.
*/
+#include <afsconfig.h>
+#include <afs/param.h>
+#include <roken.h>
+
#include <malloc.h>
#include "ms-wkssvc.h"
#include "ms-srvsvc.h"
* directory or online at http://www.openafs.org/dl/license10.html
*/
+#include <afsconfig.h>
+#include <afs/param.h>
+#include <roken.h>
+
#include <osi.h>
#include "afsd.h"
* SOFTWARE.
*/
+
+#include <afsconfig.h>
+#include <afs/param.h>
+#include <roken.h>
+
#include<windows.h>
#include <wchar.h>
#define _CRT_RAND_S
* SOFTWARE.
*/
+
+#include <afsconfig.h>
+#include <afs/param.h>
+#include <roken.h>
+
#include <windows.h>
#include <lmcons.h>
#include <stdlib.h>
* directory or online at http://www.openafs.org/dl/license10.html
*/
+#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
+
#include <afs/stds.h>
#include <windows.h>
* directory or online at http://www.openafs.org/dl/license10.html
*/
+#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
+
#include <afs/stds.h>
#include <windows.h>
* directory or online at http://www.openafs.org/dl/license10.html
*/
+#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
+
#include <afs/stds.h>
#include <windows.h>
#define SMB_RPC_IMPL
+#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
+
#include <afs/stds.h>
#include <windows.h>
* directory or online at http://www.openafs.org/dl/license10.html
*/
+#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
+
#include <afs/stds.h>
#include <afs/com_err.h>
#include <afs/afs_consts.h>
if (path[tlen-1] != '\\') {
char * newPath = malloc(tlen+2);
if (newPath) {
- snprintf(newPath,tlen+2,"%s\\",path);
+ _snprintf(newPath,tlen+2,"%s\\",path);
free(path);
path = newPath;
}
#include <ws2tcpip.h>
extern "C" {
+#include <afsconfig.h>
#include <afs/param.h>
#include <afs/stds.h>
+#include <roken.h>
}
#include <ws2tcpip.h>
extern "C" {
+#include <afsconfig.h>
#include <afs/param.h>
#include <afs/stds.h>
+#include <roken.h>
}
#include "afscfg.h"
#include <ws2tcpip.h>
extern "C" {
+#include <afsconfig.h>
#include <afs/param.h>
#include <afs/stds.h>
+#include <roken.h>
}
#include "afscfg.h"
#include <ws2tcpip.h>
extern "C" {
+#include <afsconfig.h>
#include <afs/param.h>
#include <afs/stds.h>
+#include <roken.h>
}
#include "afscfg.h"
#include <ws2tcpip.h>
extern "C" {
+#include <afsconfig.h>
#include <afs/param.h>
#include <afs/stds.h>
+#include <roken.h>
}
#include "afscfg.h"
#include <ws2tcpip.h>
extern "C" {
+#include <afsconfig.h>
#include <afs/param.h>
#include <afs/stds.h>
+#include <roken.h>
}
#include "afscfg.h" // Main header for this application
#include <ws2tcpip.h>
extern "C" {
+#include <afsconfig.h>
#include <afs/param.h>
#include <afs/stds.h>
+#include <roken.h>
}
#include "afscfg.h"
#include <ws2tcpip.h>
extern "C" {
+#include <afsconfig.h>
#include <afs/param.h>
#include <afs/stds.h>
+#include <roken.h>
}
#include "afscfg.h"
#include <ws2tcpip.h>
extern "C" {
+#include <afsconfig.h>
#include <afs/param.h>
#include <afs/stds.h>
+#include <roken.h>
}
#include "afscfg.h"
#include <ws2tcpip.h>
extern "C" {
+#include <afsconfig.h>
#include <afs/param.h>
#include <afs/stds.h>
+#include <roken.h>
}
#include "afscfg.h" // Main header for this application
#include <ws2tcpip.h>
extern "C" {
+#include <afsconfig.h>
#include <afs/param.h>
#include <afs/stds.h>
+#include <roken.h>
}
#include "afscfg.h"
#include <ws2tcpip.h>
extern "C" {
+#include <afsconfig.h>
#include <afs/param.h>
#include <afs/stds.h>
+#include <roken.h>
}
#include "afscfg.h"
#include <ws2tcpip.h>
extern "C" {
+#include <afsconfig.h>
#include <afs/param.h>
#include <afs/stds.h>
+#include <roken.h>
}
#include "afscfg.h"
#include <ws2tcpip.h>
extern "C" {
+#include <afsconfig.h>
#include <afs/param.h>
#include <afs/stds.h>
+#include <roken.h>
}
#include "afscfg.h"
#include <ws2tcpip.h>
extern "C" {
+#include <afsconfig.h>
#include <afs/param.h>
#include <afs/stds.h>
+#include <roken.h>
}
extern "C" {
#include <ws2tcpip.h>
extern "C" {
+#include <afsconfig.h>
#include <afs/param.h>
#include <afs/stds.h>
+#include <roken.h>
}
#include "afscfg.h"
#include <ws2tcpip.h>
extern "C" {
+#include <afsconfig.h>
#include <afs/param.h>
#include <afs/stds.h>
+#include <roken.h>
}
#include "afscfg.h"
#include <ws2tcpip.h>
extern "C" {
+#include <afsconfig.h>
#include <afs/param.h>
#include <afs/stds.h>
+#include <roken.h>
}
#include "afscfg.h"
#include <ws2tcpip.h>
extern "C" {
+#include <afsconfig.h>
#include <afs/param.h>
#include <afs/stds.h>
+#include <roken.h>
}
#include "afscfg.h"
#include <ws2tcpip.h>
extern "C" {
+#include <afsconfig.h>
#include <afs/param.h>
#include <afs/stds.h>
+#include <roken.h>
}
#include "afscfg.h"
#include <ws2tcpip.h>
extern "C" {
+#include <afsconfig.h>
#include <afs/param.h>
#include <afs/stds.h>
+#include <roken.h>
}
#include "afscfg.h" // Main header for this application
#include <winsock2.h>
#include <ws2tcpip.h>
+extern "C" {
+#include <afsconfig.h>
+#include <afs/param.h>
+#include <roken.h>
+}
+
#include "afscfg.h" // Main header for this application
#include "resource.h"
#include "salvage_results_dlg.h"
#include <ws2tcpip.h>
extern "C" {
+#include <afsconfig.h>
#include <afs/param.h>
#include <afs/stds.h>
+#include <roken.h>
}
#include "afscfg.h"
#include <ws2tcpip.h>
extern "C" {
+#include <afsconfig.h>
#include <afs/param.h>
#include <afs/stds.h>
+#include <roken.h>
}
#include "afscfg.h"
#include <ws2tcpip.h>
extern "C" {
+#include <afsconfig.h>
#include <afs/param.h>
#include <afs/stds.h>
+#include <roken.h>
}
#include "afscfg.h"
#include <winsock2.h>
#include <ws2tcpip.h>
+extern "C" {
+#include <afsconfig.h>
+#include <afs/param.h>
+#include <roken.h>
+}
+
#include "afscfg.h"
#include "resource.h"
#include "validation.h"
#include <ws2tcpip.h>
extern "C" {
+#include <afsconfig.h>
#include <afs/param.h>
#include <afs/stds.h>
+#include <roken.h>
}
#include "afscfg.h"
#include <ws2tcpip.h>
extern "C" {
+#include <afsconfig.h>
#include <afs/param.h>
#include <afs/stds.h>
+#include <roken.h>
}
#include "svrmgr.h"
$(DESTDIR)\lib\afsauthent.lib \
$(DESTDIR)\lib\afs\afskauth.lib \
$(DESTDIR)\lib\afs\afscom_err.lib \
- $(DESTDIR)\lib\afs\afsutil.lib
+ $(DESTDIR)\lib\afs\afsutil.lib \
+ $(DESTDIR)\lib\afsroken.lib
!IF "$(CPU)" == "IA64" || "$(CPU)" == "AMD64" || "$(CPU)" == "ALPHA64"
OTHERLIBS = \
nmake /nologo /f ntmakefile SRC=$(SRC) OBJ=$(OBJ) mkdir
cd ..
-
\ No newline at end of file
#define HAVE_KRB4
#endif
+#include <afsconfig.h>
+#include <afs/param.h>
+#include <roken.h>
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ws2tcpip.h>
extern "C" {
+#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
#include <afs/stds.h>
#include <rx/rxkad.h>
#include <afs/fs_utils.h>
#include <ws2tcpip.h>
extern "C" {
+#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
#include <afs/stds.h>
#include <afs/cm.h>
#include <rx/rxkad.h>
#include <ws2tcpip.h>
extern "C" {
+#include <afsconfig.h>
#include <afs/param.h>
#include <afs/stds.h>
+#include <roken.h>
#include <afs/cm.h>
#include <afs/cm_config.h>
}
#include <shellapi.h>
extern "C" {
+#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
#include <afs/stds.h>
#include <afs/afskfw.h>
}
#include <ws2tcpip.h>
extern "C" {
+#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
#include <afs/stds.h>
#include <afs/fs_utils.h>
}
#include <ws2tcpip.h>
extern "C" {
-#include <afs\stds.h>
+#include <afsconfig.h>
#include <afs\param.h>
+#include <roken.h>
+#include <afs\stds.h>
#include <afs\auth.h>
#include <afs\kautils.h>
#include <rx\rxkad.h>
#include <ws2tcpip.h>
extern "C" {
+#include <afsconfig.h>
#include <afs/param.h>
#include <afs/stds.h>
+#include <roken.h>
}
#include "afscreds.h"
#include <time.h>
#include <winsock2.h>
+
+#include <afsconfig.h>
+#include <afs/param.h>
+#include <roken.h>
+
#define USE_MS2MIT 1
#include <afs/stds.h>
#include <ws2tcpip.h>
extern "C" {
+#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
#include <afs/stds.h>
#include <osilog.h>
#include <afs/fs_utils.h>
#include <ws2tcpip.h>
extern "C" {
+#include <afsconfig.h>
#include <afs/param.h>
#include <afs/stds.h>
+#include <roken.h>
}
#include "afscreds.h"
#include <ws2tcpip.h>
extern "C" {
+#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
+
#include <afs/stds.h>
#include <afs/fs_utils.h>
}
#include <ws2tcpip.h>
extern "C" {
+#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
#include <afs/stds.h>
}
#include <ws2tcpip.h>
extern "C" {
+#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
#include <afs/stds.h>
}
#include <ws2tcpip.h>
extern "C" {
+#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
#include <afs/stds.h>
}
#include <ws2tcpip.h>
extern "C" {
+#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
#include <afs/stds.h>
#include <afs/afskfw.h>
#include "ipaddrchg.h"
#include <ws2tcpip.h>
extern "C" {
+#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
#include <afs/stds.h>
}
#include <ws2tcpip.h>
extern "C" {
+#include <afsconfig.h>
#include <afs/param.h>
#include <afs/stds.h>
+#include <roken.h>
}
#include "klog_dlg.h"
#include "hourglass.h"
extern "C" {
-#include <afs/param.h>
#include <afs/kautils.h>
#include "cm_config.h"
}
#include <ws2tcpip.h>
extern "C" {
+#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
#include <afs/stds.h>
}
/* $Id$ */
+#include <afsconfig.h>
+#include <afs/param.h>
+#include <roken.h>
+
#include<afscred.h>
#include<kherror.h>
#include<khuidefs.h>
/* $Id$ */
+#include <afsconfig.h>
+#include <afs/param.h>
+#include <roken.h>
+
#include<afscred.h>
#include<assert.h>
#include<wchar.h>
#pragma warning (push)
#pragma warning (disable: 4005)
+
+#include <afsconfig.h>
+#include <afs/param.h>
+#include <roken.h>
+
#include<afscred.h>
#include<dynimport.h>
#include<krb5common.h>
#define NOSTRSAFE
+
+#include <afsconfig.h>
+#include <afs/param.h>
+#include <roken.h>
+
#include<afscred.h>
#include<shlwapi.h>
#include<htmlhelp.h>
+#include <afsconfig.h>
+#include <afs/param.h>
+#include <roken.h>
+
#define NOSTRSAFE
#include "afscred.h"
#include "AFS_component_version_number.h"
/* $Id$ */
+#include <afsconfig.h>
+#include <afs/param.h>
+#include <roken.h>
+
#include<afscred.h>
#include<commctrl.h>
#include<assert.h>
/* $Id$ */
+#include <afsconfig.h>
+#include <afs/param.h>
+#include <roken.h>
+
#include<afscred.h>
#include<kcreddb.h>
#include<khmsgtypes.h>
#pragma warning (push)
#pragma warning (disable: 4005)
+
+#include <afsconfig.h>
+#include <afs/param.h>
+#include <roken.h>
+
#include<afscred.h>
#include<kmm.h>
#include<dynimport.h>
#ifdef UKERNEL
-#ifdef AFS_USR_SGI_ENV
#undef socket
-#endif /* AFS_USR_SGI_ENV */
+#undef flock
#if defined(AFS_USR_DARWIN_ENV) || defined(AFS_USR_FBSD_ENV)
#undef if_mtu
LDFLAGS_afsd = $(AFSD_LDFLAGS)
afsd: afsd.o afsd_kernel.o $(AFSLIBS) $(AFSD_LIBS)
${AFS_LDRULE} afsd.o afsd_kernel.o $(NON_SHARED) \
- $(AFSLIBS) ${XLIBS} ${AFSD_LIBS}
+ $(AFSLIBS) $(LIB_roken) ${XLIBS} ${AFSD_LIBS}
LDFLAGS_afsd.fuse = $(AFSD_LDFLAGS)
afsd.fuse: afsd_fuse.o $(UAFSLIBS) $(AFSD_LIBS)
${AFS_LDRULE} afsd_fuse.o $(NON_SHARED) \
- $(UAFSLIBS) ${XLIBS} ${FUSE_LIBS} ${AFSD_LIBS}
+ $(UAFSLIBS) $(LIB_roken) ${XLIBS} ${FUSE_LIBS} ${AFSD_LIBS}
vsys: vsys.o
- ${AFS_LDRULE} vsys.o ${TOP_LIBDIR}/libsys.a ${XLIBS}
+ ${AFS_LDRULE} vsys.o ${TOP_LIBDIR}/libsys.a \
+ $(LIB_roken) ${XLIBS}
#
# Objects
afsmonitor: afsmonitor.o afsmon-win.o afsmon-output.o ${LIBS}
$(AFS_LDRULE) afsmonitor.o afsmon-win.o afsmon-output.o \
- ${LIBS} ${EXTRA_LIBS}
+ ${LIBS} $(LIB_roken) ${EXTRA_LIBS}
afsmon-parselog: afsmon-parselog.o ${LIBS}
- $(AFS_LDRULE) afsmon-parselog.c ${LIBS} ${EXTRA_LIBS}
+ $(AFS_LDRULE) afsmon-parselog.c \
+ ${LIBS} $(LIB_roken) ${EXTRA_LIBS}
install: afsmonitor
${INSTALL} -d ${DESTDIR}${bindir}
all: aklog asetkey klog
aklog: ${OBJS} ${AFSLIBS}
- $(AFS_LDRULE) ${OBJS} ${AKLIBS} ${AFSLIBS} ${XLIBS}
+ $(AFS_LDRULE) ${OBJS} ${AKLIBS} ${AFSLIBS} $(LIB_roken) ${XLIBS}
asetkey: asetkey.o ${AFSLIBS}
- $(AFS_LDRULE) asetkey.o ${AKLIBS} ${AFSLIBS} ${XLIBS}
+ $(AFS_LDRULE) asetkey.o ${AKLIBS} ${AFSLIBS} $(LIB_roken) ${XLIBS}
klog: klog.o skipwrap.o ${AFSLIBS}
- $(AFS_LDRULE) klog.o skipwrap.o ${AKLIBS} ${AFSLIBS} ${XLIBS}
+ $(AFS_LDRULE) klog.o skipwrap.o \
+ ${AKLIBS} ${AFSLIBS} $(LIB_roken) ${XLIBS}
#
# Installation targets
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
#include <fcntl.h>
#include <stdarg.h>
$(EXELIBDIR)\afs\afsutil.lib \
$(EXELIBDIR)\afs\afseventlog.lib \
$(EXELIBDIR)\afs\afsreg.lib \
- $(EXELIBDIR)\libafsconf.lib
+ $(EXELIBDIR)\libafsconf.lib \
+ $(EXELIBDIR)\afsroken.lib
$(SETKEY_EXEFILE): $(SETKEY_EXEOBJS) $(EXELIBS)
$(EXECONLINK) dnsapi.lib shell32.lib
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
+
#include <afs/stds.h>
#include <afs/pthread_glock.h>
#include <sys/types.h>
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
#include <afs/stds.h>
#include <afs/pthread_glock.h>
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
#include <afs/stds.h>
#include <stdio.h>
{
struct ViceIoctl iob;
char tbuffer[TBUFFERSIZE];
- int len;
+ size_t len;
char *tp, *cp;
char *ticketP;
int ticketLen, temp;
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
#include <sys/types.h>
#include <stdio.h>
#include <afsconfig.h>
#include <afs/param.h>
+
+#include <roken.h>
+
#include <afs/auth.h>
#include <rx/rxkad.h>
#include <errno.h>
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
#include <afs/stds.h>
#include <afs/pthread_glock.h>
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
#include <afs/pthread_glock.h>
#include <afs/afsutil.h>
bos.o: bos.c ${INCLS} AFS_component_version_number.o
bos: bos.o $(LIBS) libbos.a
- $(AFS_LDRULE) bos.o libbos.a $(LIBS) ${XLIBS}
+ $(AFS_LDRULE) bos.o libbos.a $(LIBS) $(LIB_roken) ${XLIBS}
bos_util.o: bos_util.c ${INCLS} AFS_component_version_number.o ${TOP_INCDIR}/afs/bnode.h
-bos_util: bos_util.o $(LIBS)
- $(AFS_LDRULE) bos_util.o $(LIBS) ${XLIBS}
+bos_util: bos_util.o $(LIBS)
+ $(AFS_LDRULE) bos_util.o $(LIBS) $(LIB_roken) ${XLIBS}
ezbnodeops.o: ezbnodeops.c ${INCLS}
$(RANLIB) $@
bosserver: $(OBJS) $(LIBS)
- $(AFS_LDRULE) $(OBJS) ${TOP_LIBDIR}/libaudit.a $(LIBS) ${XLIBS}
+ $(AFS_LDRULE) $(OBJS) ${TOP_LIBDIR}/libaudit.a \
+ $(LIBS) $(LIB_roken) ${XLIBS}
#
# Install targets
$(DESTDIR)\lib\afs\afseventlog.lib \
$(DESTDIR)\lib\afs\afsprocmgmt.lib \
$(DESTDIR)\lib\libafsconf.lib \
- $(DESTDIR)\lib\afs\afspioctl.lib
+ $(DESTDIR)\lib\afs\afspioctl.lib \
+ $(DESTDIR)\lib\afsroken.lib
$(BOSSERVER_EXEFILE): $(BOSSERVER_EXEOBJS) $(BOSSERVER_EXELIBS)
$(EXECONLINK) dnsapi.lib mpr.lib iphlpapi.lib shell32.lib
$(DESTDIR)\lib\afs\afsreg.lib \
$(DESTDIR)\lib\afs\afsprocmgmt.lib \
$(DESTDIR)\lib\afs\afspioctl.lib \
- $(DESTDIR)\lib\libafsconf.lib
+ $(DESTDIR)\lib\libafsconf.lib \
+ $(DESTDIR)\lib\afsroken.lib
$(RS_BOS_EXEFILE): $(BOS_EXEOBJS) $(BOS_EXELIBS)
#include <afsconfig.h>
#include <afs/param.h>
+#include <afs/procmgmt.h>
+#include <roken.h>
#include <stddef.h>
#include <stdlib.h>
#include <afsconfig.h>
#include <afs/param.h>
+#include <afs/procmgmt.h>
+#include <roken.h>
#include <afs/stds.h>
#include <stdlib.h>
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
#include <afs/stds.h>
#include <sys/types.h>
#include <afsconfig.h>
#include <afs/param.h>
+#include <afs/procmgmt.h>
+#include <roken.h>
+
#ifdef IGNORE_SOME_GCC_WARNINGS
# pragma GCC diagnostic warning "-Wdeprecated-declarations"
#endif
#include <afsconfig.h>
#include <afs/param.h>
+#include <afs/procmgmt.h>
+#include <roken.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <afsconfig.h>
#include <afs/param.h>
+#include <afs/procmgmt.h>
+#include <roken.h>
#include <sys/types.h>
#include <errno.h>
#include <afsconfig.h>
#include <afs/param.h>
+#include <afs/procmgmt.h>
+#include <roken.h>
#include <sys/types.h>
#include <lwp.h>
# rxgen on butc.xg and bumon.xg
butc.xdr.c: butc.xg butc.h
- $(RXGEN) -c -o $@ butc.xg
+ $(RXGEN) -A -c -x -o $@ butc.xg
butc.ss.c: butc.xg butc.h
- $(RXGEN) -S -o $@ butc.xg
+ $(RXGEN) -A -S -o $@ butc.xg
butc.cs.c: butc.xg butc.h
- $(RXGEN) -C -o $@ butc.xg
+ $(RXGEN) -A -C -o $@ butc.xg
butc.h: butc.xg
- $(RXGEN) -h -o $@ butc.xg
+ $(RXGEN) -A -h -o $@ butc.xg
bumon.xdr.c: bumon.xg bumon.h
- $(RXGEN) -c -o $@ bumon.xg
+ $(RXGEN) -A -c -x -o $@ bumon.xg
bumon.ss.c: bumon.xg bumon.h
- $(RXGEN) -S -o $@ bumon.xg
+ $(RXGEN) -A -S -o $@ bumon.xg
bumon.cs.c: bumon.xg bumon.h
- $(RXGEN) -C -o $@ bumon.xg
+ $(RXGEN) -A -C -o $@ bumon.xg
bumon.h: bumon.xg
- $(RXGEN) -h -o $@ bumon.xg
+ $(RXGEN) -A -h -o $@ bumon.xg
############################################################################
# compile_et on butm_errs.et and butc_errs.et
$(BACKOBJS): bc.h ${TOP_INCDIR}/afs/butc.h
backup: $(BACKOBJS) ${LIBS}
- $(AFS_LDRULE) $(BACKOBJS) ${LIBS} ${XLIBS}
+ $(AFS_LDRULE) $(BACKOBJS) ${LIBS} $(LIB_roken) ${XLIBS}
bc.h: bucoord_errs.c
$(DESTDIR)\lib\afs\afsprocmgmt.lib \
$(DESTDIR)\lib\afs\afspioctl.lib \
$(DESTDIR)\lib\afs\afsreg.lib \
- $(DESTDIR)\lib\libafsconf.lib
+ $(DESTDIR)\lib\libafsconf.lib \
+ $(DESTDIR)\lib\afsroken.lib
$(EXEFILE): $(EXEOBJS) $(EXERES) $(EXELIBS)
#include <afsconfig.h>
#include <afs/stds.h>
+#include <roken.h>
#include <sys/types.h>
#ifdef AFS_NT40_ENV
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
#include <afs/stds.h>
#if defined(AFS_LINUX24_ENV)
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
#include <sys/types.h>
#ifdef AFS_NT40_ENV
#include <afsconfig.h>
#include <afs/stds.h>
+
+#include <roken.h>
+
#ifdef HAVE_STDLIB_H
#include <stdlib.h>
#endif
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
#include <sys/types.h>
#include <afs/cmd.h>
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
#include <sys/types.h>
#include <afs/cmd.h>
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
#include <sys/types.h>
#include <afs/cmd.h>
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
#ifdef AFS_NT40_ENV
#include <winsock2.h>
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
#include <afs/stds.h>
#include <sys/types.h>
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
#include <afs/stds.h>
#include <sys/types.h>
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
#ifdef AFS_NT40_ENV
#include <winsock2.h>
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
#include <afs/stds.h>
#include <sys/types.h>
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
#include <afs/stds.h>
#include <sys/types.h>
#include <afsconfig.h>
#include <afs/stds.h>
+#include <roken.h>
+
#ifdef IGNORE_SOME_GCC_WARNINGS
# pragma GCC diagnostic warning "-Wstrict-prototypes"
#endif
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
#include <afs/stds.h>
#include <sys/types.h>
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
#include <sys/types.h>
#ifdef AFS_NT40_ENV
server.o: server.c budb_errs.h ${INCLS} AFS_component_version_number.c
budb_server: $(SERVER_OBJS) ${LIBS} ${TOP_INCDIR}/afs/budb_client.h
- $(AFS_LDRULE) $(SERVER_OBJS) ${LIBS} ${XLIBS}
+ $(AFS_LDRULE) $(SERVER_OBJS) ${LIBS} $(LIB_roken) ${XLIBS}
budb.cs.c: budb.rg
${RXGEN} -A -u -C -o $@ ${srcdir}/budb.rg
$(DESTDIR)\lib\afs\afsreg.lib \
$(DESTDIR)\lib\afs\afsprocmgmt.lib \
$(DESTDIR)\lib\libafsconf.lib \
- $(DESTDIR)\lib\afs\afspioctl.lib
+ $(DESTDIR)\lib\afs\afspioctl.lib \
+ $(DESTDIR)\lib\afsroken.lib
$(EXEFILE): $(EXEOBJS) $(EXELIBS)
$(EXECONLINK) dnsapi.lib mpr.lib iphlpapi.lib shell32.lib
# rxgen budb.rg
budb.cs.c: budb.rg budb.h
- $(RXGEN) -u -C -o $@ budb.rg
+ $(RXGEN) -A -u -C -o $@ budb.rg
budb.ss.c: budb.rg budb.h
- $(RXGEN) -S -o $@ budb.rg
+ $(RXGEN) -A -S -o $@ budb.rg
budb.xdr.c: budb.rg budb.h
- $(RXGEN) -c -o $@ budb.rg
+ $(RXGEN) -A -x -c -o $@ budb.rg
budb.h: budb.rg
- $(RXGEN) -u -h -o budb.h budb.rg
+ $(RXGEN) -A -u -h -o budb.h budb.rg
$(INCFILEDIR)\budb.h: budb.h
$(COPY) budb.h $(INCFILEDIR)\budb.h
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
#ifdef AFS_NT40_ENV
#include <winsock2.h>
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
#ifdef AFS_NT40_ENV
#include <winsock2.h>
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
#ifdef AFS_NT40_ENV
#include <winsock2.h>
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
#ifdef AFS_NT40_ENV
#include <winsock2.h>
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
#include <sys/types.h>
#ifdef AFS_NT40_ENV
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
#ifdef AFS_NT40_ENV
#include <winsock2.h>
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
#ifdef AFS_NT40_ENV
#include <winsock2.h>
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
#include <stdio.h>
#ifdef AFS_NT40_ENV
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
#ifdef AFS_NT40_ENV
#include <winsock2.h>
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
#include <fcntl.h>
#include <sys/stat.h>
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
#include <stdio.h>
#ifdef AFS_NT40_ENV
all: butc read_tape
butc_test: ${TESTOBJS} ${LIBS} ${INCLS} ${HACKS}
- $(AFS_LDRULE) ${TESTOBJS} ${LIBS} ${XLIBS}
+ $(AFS_LDRULE) ${TESTOBJS} ${LIBS} $(LIB_roken) ${XLIBS}
tdump: tdump.c AFS_component_version_number.c
$(CC) $(AFS_CPPFLAGS) $(AFS_CFLAGS) $(AFS_LDFLAGS) \
butc: ${SOBJS} ${LIBS} ${INCLS} ${HACKS}
@case ${SYS_NAME} in \
- rs_aix*) $(AFS_LDRULE) ${SOBJS} ${LIBS} ${XLIBS} \
+ rs_aix*) $(AFS_LDRULE) ${SOBJS} ${LIBS} $(LIB_roken) ${XLIBS} \
/usr/lib/libc_r.a ;; \
- *) $(AFS_LDRULE) ${SOBJS} ${LIBS} ${XLIBS} ;; \
+ *) $(AFS_LDRULE) ${SOBJS} ${LIBS} $(LIB_roken) ${XLIBS} ;; \
esac
tcmain.o: tcmain.c ${INCLS} AFS_component_version_number.c
$(DESTDIR)\lib\afs\afspioctl.lib \
$(DESTDIR)\lib\afs\afseventlog.lib \
$(DESTDIR)\lib\afs\afsreg.lib \
- $(DESTDIR)\lib\libafsconf.lib
+ $(DESTDIR)\lib\libafsconf.lib \
+ $(DESTDIR)\lib\afsroken.lib
$(EXERES): butc.rc AFS_component_version_number.h
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
#include <sys/types.h>
#ifdef AFS_NT40_ENV
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
+
#include <sys/types.h>
#ifdef AFS_NT40_ENV
#include <winsock2.h>
else \
sprintf(dumpname, "%s (DumpId %u)", name, dbDumpId);
-#if defined(AFS_NT40_ENV) || defined(AFS_SUN4_ENV)
-int
-localtime_r(time_t * t, struct tm *tm)
-{
- memcpy(tm, localtime(t), sizeof(struct tm));
- return 0;
-}
-#endif
-
struct dumpRock {
/* status only */
int tapeSeq;
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
#ifndef AFS_NT40_ENV
#include <sys/time.h>
#include <afs/param.h>
+#include <afs/procmgmt.h>
+#include <roken.h>
+
#include <sys/types.h>
#include <string.h>
#ifdef AFS_NT40_ENV
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
#include <stdio.h>
#ifdef HAVE_STDINT_H
#include <afsconfig.h>
#include <afs/param.h>
+
+#include <afs/procmgmt.h>
+#include <roken.h>
+
#ifdef IGNORE_SOME_GCC_WARNINGS
# pragma GCC diagnostic warning "-Wimplicit-function-declaration"
#endif
#include <afsconfig.h>
#include <afs/param.h>
+#include <afs/procmgmt.h>
+#include <roken.h>
#include <sys/types.h>
#include <errno.h>
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
#include <sys/types.h>
#ifdef AFS_NT40_ENV
#include <afsconfig.h>
#include <afs/param.h>
+#include <afs/procmgmt.h>
+#include <roken.h>
+
#ifdef IGNORE_SOME_GCC_WARNINGS
# pragma GCC diagnostic warning "-Wimplicit-function-declaration"
#endif
$(DESTDIR)\lib\afs\afscom_err.lib \
$(DESTDIR)\lib\afs\afsusd.lib \
$(DESTDIR)\lib\afs\afsutil.lib \
- $(DESTDIR)\lib\afs\afsbubasics.lib
+ $(DESTDIR)\lib\afs\afsbubasics.lib \
+ $(DESTDIR)\lib\afsroken.lib
$(OUT)\test_ftm.exe: $(OUT)\test_ftm.obj $(LIBFILE) $(TESTLIBS)
$(EXECONLINK)
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
+
#include <sys/types.h>
#ifdef AFS_NT40_ENV
#include <winsock2.h>
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
#include <sys/types.h>
#include <fcntl.h>
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
#include "internal.h"
#include <stdio.h>
! IF (!EXIST($(OJT)\libacl))
$(MKDIR) $(OJT)\libacl
! ENDIF
+! IF (!EXIST($(OJT)\roken))
+ $(MKDIR) $(OJT)\roken
+! ENDIF
! IF (!EXIST($(OJT)\tests))
$(MKDIR) $(OJT)\tests
! ENDIF
/* Define if you have the res_search function. */
#undef HAVE_RES_SEARCH
-/* Define if you have the snprintf function. */
-#undef HAVE_SNPRINTF
-
/* Define if you have the socket function. */
#define HAVE_SOCKET
/* Define if you have the <winsock2.h> header file. */
#define HAVE_WINSOCK2_H
-/* Define if you have vsnprintf */
-#define HAVE_VSNPRINTF 1
-
-/* Define if you have snprintf */
-#define HAVE_SNPRINTF 1
+#define HAVE_WINSOCK
/* Name of package */
#undef PACKAGE
#define S_IRUSR _S_IREAD
#define S_IWUSR _S_IWRITE
+
#define HAVE_CONIO_H 1
+
+#define HAVE_FSYNC 1
+
+/* param.h overrides lstat, so stop roken getting involved */
+#define HAVE_LSTAT 1
+
+#define HAVE_STRCASECMP 1
+
+#define HAVE_STRUCT_SOCKADDR_STORAGE 1
+
+#define HAVE_DECL_H_ERRNO 1
+
+#define HAVE_STRUCT_ADDRINFO 1
+#define HAVE_GAI_STRERROR 1
+#define HAVE_STRERROR 1
+#define HAVE_STRLWR 1
+#define HAVE_STRDUP 1
+#define HAVE_GETHOSTNAME 1
+#define HAVE_STRFTIME 1
+#define HAVE_GETCWD 1
+#define HAVE_STRUPR 1
#define strcasecmp(s1,s2) _stricmp(s1,s2)
#define strncasecmp(s1,s2,n) _strnicmp(s1,s2,n)
#define sleep(seconds) Sleep((seconds) * 1000)
-#define fsync(fileno) _commit(fileno)
-#define ftruncate(fd, size) _chsize((fd), (long)(size))
#define strtoll(str, cp, base) strtoi64((str), (cp), (base))
#define strtoull(str, cp, base) strtoui64((str), (cp), (base))
#define pclose(stream) _pclose(stream)
typedef char *caddr_t;
-#define pipe(fdp) _pipe(fdp, 4096, _O_BINARY)
-
-#define snprintf _snprintf
#endif /* AFS_PARAM_H */
#else /* !defined(UKERNEL) */
$(OUT)\errx.obj \
$(OUT)\getprogname.obj \
$(OUT)\issuid.obj \
+ $(OUT)\snprintf.obj \
$(OUT)\verr.obj \
$(OUT)\verrx.obj \
$(OUT)\vwarn.obj \
#endif
#endif
+/* The MSVC implementation of snprintf is not C99 compliant. */
+#define snprintf rk_snprintf
+#define vsnprintf rk_vsnprintf
+#define vasnprintf rk_vasnprintf
+#define vasprintf rk_vasprintf
+#define asnprintf rk_asnprintf
+#define asprintf rk_asprintf
+
#endif /* _MSC_VER */
#endif /* AFS_NT40_ENV */
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
#include <stdlib.h>
#include <lock.h>
$(AFS_CCRULE) $(TVICED)/state_analyzer.c
dafileserver: ${objects} ${LIBS}
- $(AFS_LDRULE) ${objects} ${LIBS} ${MT_LIBS} ${XLIBS}
+ $(AFS_LDRULE) ${objects} \
+ ${LIBS} $(LIB_roken) ${MT_LIBS} ${XLIBS}
state_analyzer: ${SDBGOBJS}
- $(AFS_LDRULE) ${SDBGOBJS} ${MT_LIBS} ${XLIBS}
+ $(AFS_LDRULE) ${SDBGOBJS} \
+ $(LIB_roken) ${MT_LIBS} ${XLIBS}
install: dafileserver state_analyzer
${INSTALL} -d ${DESTDIR}${afssrvlibexecdir}
$(DESTDIR)\lib\afs\mtafsutil.lib \
$(DESTDIR)\lib\afs\daafsvol.lib \
$(DESTDIR)\lib\afs\mtafsvldb.lib \
- $(DESTDIR)\lib\afspthread.lib
+ $(DESTDIR)\lib\afspthread.lib \
+ $(DESTDIR)\lib\afsroken.lib
$(EXEFILE): $(EXEOBJS) $(EXELIBS)
$(EXECONLINK)
-$(DEL) $(EXEFILE)
-$(DEL) $(DAFS_VICEDRES)
-
\ No newline at end of file
$(AFS_CCRULE) $(VOL)/namei_ops.c
davolserver: ${objects} ${LIBS}
- $(AFS_LDRULE) ${objects} ${LIBS} ${MT_LIBS} ${XLIBS}
+ $(AFS_LDRULE) ${objects} ${LIBS} $(LIB_roken) ${MT_LIBS} ${XLIBS}
install: davolserver
${INSTALL} -d ${DESTDIR}${afssrvlibexecdir}
$(DESTDIR)\lib\afs\afsprocmgmt.lib \
$(DESTDIR)\lib\afs\afseventlog.lib \
$(DESTDIR)\lib\afs\mtafsutil.lib \
- $(DESTDIR)\lib\afspthread.lib
+ $(DESTDIR)\lib\afspthread.lib \
+ $(DESTDIR)\lib\afsroken.lib
$(VOLSERVER_EXEFILE): $(VOLSERVER_EXEOBJS) $(VOLSERVER_EXELIBS)
$(EXECONLINK) dnsapi.lib mpr.lib iphlpapi.lib shell32.lib
#ifndef __STDC__
#define const
#endif
+#include <config.h>
+#include "roken.h"
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
all: translate_et
translate_et: translate_et.o ${INCLS}
- $(AFS_LDRULE) translate_et.o ${LIBS}
+ $(AFS_LDRULE) translate_et.o ${LIBS} $(LIB_roken)
translate_et.o: AFS_component_version_number.c
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
#include <afs/stds.h>
#include <stdio.h>
#endif /* defined(UKERNEL) */
#include "afsint.h"
#else /* KERNEL */
+# include <roken.h>
# include <rx/xdr.h>
# include "afsint.h"
#endif /* KERNEL */
fsprobe_callback.o: fsprobe_callback.c ${INCLS}
fsprobe_test: fsprobe_test.o libfsprobe.a ${LIBS}
- $(AFS_LDRULE) fsprobe_test.o libfsprobe.a ${LIBS} ${XLIBS}
+ $(AFS_LDRULE) fsprobe_test.o libfsprobe.a \
+ ${LIBS} $(LIB_roken) ${XLIBS}
#
# Install targets
$(AFS_LDRULE) kaserver.o kautils.o kalocalcell.o kadatabase.o \
krb_udp.o kaprocs.o kalog.o kauth.ss.o kauth.xdr.o kaaux.o \
kaauxdb.o \
- $(LIBS) ${XLIBS} ${TOP_LIBDIR}/libaudit.a
+ $(LIBS) $(LIB_roken) ${XLIBS} ${TOP_LIBDIR}/libaudit.a
kaserver.o: kaserver.c ${INCLS} AFS_component_version_number.o
krb_tf.o: krb_tf.c ${INCLS}
kas: kauth.h kautils.h admin_tools.o libkauth.a $(LIBS) kas.o kkids.o
- $(AFS_LDRULE) kas.o admin_tools.o kkids.o libkauth.a ${LIBS} ${XLIBS}
+ $(AFS_LDRULE) kas.o admin_tools.o kkids.o libkauth.a \
+ ${LIBS} $(LIB_roken) ${XLIBS}
klog: AFS_component_version_number.o kauth.h kautils.h libkauth.a $(LIBS) \
klog.o
- $(AFS_LDRULE) klog.o libkauth.a ${LIBS} ${XLIBS}
+ $(AFS_LDRULE) klog.o libkauth.a \
+ ${LIBS} $(LIB_roken) ${XLIBS}
klog.o: klog.c kauth.h kautils.h AFS_component_version_number.o
klog.krb: kauth.h kautils.h libkauth.krb.a $(KLIBS) klog.o
- $(AFS_LDRULE) klog.o libkauth.krb.a ${KLIBS} ${XLIBS}
+ $(AFS_LDRULE) klog.o libkauth.krb.a \
+ ${KLIBS} $(LIB_roken) ${XLIBS}
knfs: kauth.h kautils.h libkauth.a $(LIBS) knfs.o
- $(AFS_LDRULE) knfs.o libkauth.a ${LIBS} ${XLIBS}
+ $(AFS_LDRULE) knfs.o libkauth.a \
+ ${LIBS} $(LIB_roken) ${XLIBS}
knfs.o: knfs.c AFS_component_version_number.o
klogin.o: klogin.c ${INCLS} AFS_component_version_number.o
klogin: libkauth.a $(LIBS) klogin.o
- $(AFS_LDRULE) klogin.o libkauth.a ${LIBS} ${XLIBS}
+ $(AFS_LDRULE) klogin.o libkauth.a \
+ ${LIBS} $(LIB_roken) ${XLIBS}
klogin.krb: libkauth.a $(KLIBS) klogin.o
- $(AFS_LDRULE) klogin.o libkauth.krb.a ${KLIBS} ${XLIBS}
+ $(AFS_LDRULE) klogin.o libkauth.krb.a \
+ ${KLIBS} $(LIB_roken) ${XLIBS}
kpasswd.o: kauth.h kautils.h ${INCLS} kpasswd.c AFS_component_version_number.o
kpasswd: kauth.h kautils.h libkauth.a $(LIBS) kpasswd.o kkids.o
- $(AFS_LDRULE) kpasswd.o kkids.o libkauth.a ${LIBS} ${XLIBS}
+ $(AFS_LDRULE) kpasswd.o kkids.o libkauth.a \
+ ${LIBS} $(LIB_roken) ${XLIBS}
kpwvalid.o: kpwvalid.c AFS_component_version_number.o
kpwvalid: kpwvalid.o $(LIBS)
- $(AFS_LDRULE) kpwvalid.o ${LIBS} ${XLIBS}
+ $(AFS_LDRULE) kpwvalid.o \
+ ${LIBS} $(LIB_roken) ${XLIBS}
CFLAGS_user.krb.o = -DAFS_KERBEROS_ENV
user.krb.o: user.c ${INCLS} ${TOP_INCDIR}/afs/vice.h
user.o: user.c ${INCLS} ${TOP_INCDIR}/afs/vice.h
kdb: kdb.o ${INCLS} ${LIBS} libkauth.a
- $(AFS_LDRULE) kdb.o libkauth.a ${LIBS} ${XLIBS}
+ $(AFS_LDRULE) kdb.o libkauth.a \
+ ${LIBS} $(LIB_roken) ${XLIBS}
kdb.o: kdb.c AFS_component_version_number.o
krb_udp.o: krb_udp.c kaserver.h kautils.h kauth.h prot.h ${TOP_INCDIR}/lwp.h AFS_component_version_number.o
krb_udp: krb_udp.o libkauth.a $(KLIBS)
- $(AFS_LDRULE) krb_udp.o libkauth.a $(KLIBS)
+ $(AFS_LDRULE) krb_udp.o libkauth.a \
+ $(KLIBS) $(LIB_roken)
ka-forwarder.o: ka-forwarder.c
ka-forwarder: ka-forwarder.o
- $(AFS_LDRULE) ka-forwarder.o ${LIBS} ${XLIBS}
+ $(AFS_LDRULE) ka-forwarder.o \
+ ${LIBS} $(LIB_roken) ${XLIBS}
rebuild.o: rebuild.c $(INCLS) AFS_component_version_number.o
rebuild: rebuild.o kautils.o $(LIBS)
- $(AFS_LDRULE) rebuild.o kautils.o $(LIBS) ${XLIBS}
+ $(AFS_LDRULE) rebuild.o kautils.o \
+ $(LIBS) $(LIB_roken) ${XLIBS}
#
# Install targets
$(DESTDIR)\lib\afsubik.lib \
$(DESTDIR)\lib\afs\afseventlog.lib \
$(DESTDIR)\lib\afsrxkad.lib \
- $(DESTDIR)\lib\libafsconf.lib
+ $(DESTDIR)\lib\libafsconf.lib \
+ $(DESTDIR)\lib\afsroken.lib
TOKENLIB = $(DESTDIR)\lib\afs\afspioctl.lib
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
#include <afs/stds.h>
#include <ctype.h>
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
+
#ifdef IGNORE_SOME_GCC_WARNINGS
# pragma GCC diagnostic warning "-Wstrict-prototypes"
# pragma GCC diagnostic warning "-Wimplicit-function-declaration"
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
+
#include <afs/stds.h>
#include <afs/pthread_glock.h>
#include <stdio.h>
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
#include <rx/xdr.h>
#include <afs/kauth.h>
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
#ifdef AFS_NT40_ENV
#include <io.h>
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
#include <sys/types.h>
#ifdef AFS_NT40_ENV
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
+
#include <afs/pthread_glock.h>
#include <sys/types.h>
#ifdef AFS_NT40_ENV
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
#include <stdio.h>
#include <afs/afsutil.h>
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
#include <afs/stds.h>
#include <errno.h>
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
#include <afs/stds.h>
#ifdef AFS_AIX32_ENV
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
#include <afs/stds.h>
#include <sys/types.h>
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
+
#ifdef UKERNEL
# include "afsincludes.h"
#endif
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
#include <afs/afsutil.h>
#include <afs/stds.h>
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
#include <afs/stds.h>
#include <sys/types.h>
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
#ifdef HAVE_FCNTL_H
#include <fcntl.h>
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
#include <afs/stds.h>
#include <sys/types.h>
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
#include <afs/stds.h>
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
#include <sys/types.h>
#ifdef AFS_NT40_ENV
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
#include <sys/types.h>
#ifdef AFS_NT40_ENV
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
#include <afs/stds.h>
#include <afs/afs_Admin.h>
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
#include <stdio.h>
#include <afs/stds.h>
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
#include <afs/stds.h>
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
#include <afs/stds.h>
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
#include <afs/stds.h>
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
#include <afs/stds.h>
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
#include <afs/stds.h>
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
#include <afs/stds.h>
#include "afs_clientAdmin.h"
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
#include <stdio.h>
#include <string.h>
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
#include <stdio.h>
#include <ctype.h>
all test tests: $(SAMPLEPROGS)
cm_client_config: cm_client_config.o $(SAMPLELIBS)
- $(AFS_LDRULE) $@.o $(SAMPLELIBS) $(MT_LIBS) $(XLIBS)
+ $(AFS_LDRULE) $@.o $(SAMPLELIBS) $(LIB_roken) $(MT_LIBS) $(XLIBS)
cm_list_cells: cm_list_cells.o $(SAMPLELIBS)
- $(AFS_LDRULE) $@.o $(SAMPLELIBS) $(MT_LIBS) $(XLIBS)
+ $(AFS_LDRULE) $@.o $(SAMPLELIBS) $(LIB_roken) $(MT_LIBS) $(XLIBS)
cm_local_cell: cm_local_cell.o $(SAMPLELIBS)
- $(AFS_LDRULE) $@.o $(SAMPLELIBS) $(MT_LIBS) $(XLIBS)
+ $(AFS_LDRULE) $@.o $(SAMPLELIBS) $(LIB_roken) $(MT_LIBS) $(XLIBS)
cm_server_prefs: cm_server_prefs.o $(SAMPLELIBS)
- $(AFS_LDRULE) $@.o $(SAMPLELIBS) $(MT_LIBS) $(XLIBS)
+ $(AFS_LDRULE) $@.o $(SAMPLELIBS) $(LIB_roken) $(MT_LIBS) $(XLIBS)
rxdebug_basic_stats: rxdebug_basic_stats.o $(SAMPLELIBS)
- $(AFS_LDRULE) $@.o $(SAMPLELIBS) $(MT_LIBS) $(XLIBS)
+ $(AFS_LDRULE) $@.o $(SAMPLELIBS) $(LIB_roken) $(MT_LIBS) $(XLIBS)
rxdebug_conns: rxdebug_conns.o $(SAMPLELIBS)
- $(AFS_LDRULE) $@.o $(SAMPLELIBS) $(MT_LIBS) $(XLIBS)
+ $(AFS_LDRULE) $@.o $(SAMPLELIBS) $(LIB_roken) $(MT_LIBS) $(XLIBS)
rxdebug_peers: rxdebug_peers.o $(SAMPLELIBS)
- $(AFS_LDRULE) $@.o $(SAMPLELIBS) $(MT_LIBS) $(XLIBS)
+ $(AFS_LDRULE) $@.o $(SAMPLELIBS) $(LIB_roken) $(MT_LIBS) $(XLIBS)
rxdebug_rx_stats: rxdebug_rx_stats.o $(SAMPLELIBS)
- $(AFS_LDRULE) $@.o $(SAMPLELIBS) $(MT_LIBS) $(XLIBS)
+ $(AFS_LDRULE) $@.o $(SAMPLELIBS) $(LIB_roken) $(MT_LIBS) $(XLIBS)
rxdebug_supported_stats: rxdebug_supported_stats.o $(SAMPLELIBS)
- $(AFS_LDRULE) $@.o $(SAMPLELIBS) $(MT_LIBS) $(XLIBS)
+ $(AFS_LDRULE) $@.o $(SAMPLELIBS) $(LIB_roken) $(MT_LIBS) $(XLIBS)
rxdebug_version: rxdebug_version.o $(SAMPLELIBS)
- $(AFS_LDRULE) $@.o $(SAMPLELIBS) $(MT_LIBS) $(XLIBS)
+ $(AFS_LDRULE) $@.o $(SAMPLELIBS) $(LIB_roken) $(MT_LIBS) $(XLIBS)
rxstat_clear_peer: rxstat_clear_peer.o $(SAMPLELIBS)
- $(AFS_LDRULE) $@.o $(SAMPLELIBS) $(MT_LIBS) $(XLIBS)
+ $(AFS_LDRULE) $@.o $(SAMPLELIBS) $(LIB_roken) $(MT_LIBS) $(XLIBS)
rxstat_clear_process: rxstat_clear_process.o $(SAMPLELIBS)
- $(AFS_LDRULE) $@.o $(SAMPLELIBS) $(MT_LIBS) $(XLIBS)
+ $(AFS_LDRULE) $@.o $(SAMPLELIBS) $(LIB_roken) $(MT_LIBS) $(XLIBS)
rxstat_disable_peer: rxstat_disable_peer.o $(SAMPLELIBS)
- $(AFS_LDRULE) $@.o $(SAMPLELIBS) $(MT_LIBS) $(XLIBS)
+ $(AFS_LDRULE) $@.o $(SAMPLELIBS) $(LIB_roken) $(MT_LIBS) $(XLIBS)
rxstat_disable_process: rxstat_disable_process.o $(SAMPLELIBS)
- $(AFS_LDRULE) $@.o $(SAMPLELIBS) $(MT_LIBS) $(XLIBS)
+ $(AFS_LDRULE) $@.o $(SAMPLELIBS) $(LIB_roken) $(MT_LIBS) $(XLIBS)
rxstat_enable_peer: rxstat_enable_peer.o $(SAMPLELIBS)
- $(AFS_LDRULE) $@.o $(SAMPLELIBS) $(MT_LIBS) $(XLIBS)
+ $(AFS_LDRULE) $@.o $(SAMPLELIBS) $(LIB_roken) $(MT_LIBS) $(XLIBS)
rxstat_enable_process: rxstat_enable_process.o $(SAMPLELIBS)
- $(AFS_LDRULE) $@.o $(SAMPLELIBS) $(MT_LIBS) $(XLIBS)
+ $(AFS_LDRULE) $@.o $(SAMPLELIBS) $(LIB_roken) $(MT_LIBS) $(XLIBS)
rxstat_get_peer: rxstat_get_peer.o $(SAMPLELIBS)
- $(AFS_LDRULE) $@.o $(SAMPLELIBS) $(MT_LIBS) $(XLIBS)
+ $(AFS_LDRULE) $@.o $(SAMPLELIBS) $(LIB_roken) $(MT_LIBS) $(XLIBS)
rxstat_get_process: rxstat_get_process.o $(SAMPLELIBS)
- $(AFS_LDRULE) $@.o $(SAMPLELIBS) $(MT_LIBS) $(XLIBS)
+ $(AFS_LDRULE) $@.o $(SAMPLELIBS) $(LIB_roken) $(MT_LIBS) $(XLIBS)
rxstat_get_version: rxstat_get_version.o $(SAMPLELIBS)
- $(AFS_LDRULE) $@.o $(SAMPLELIBS) $(MT_LIBS) $(XLIBS)
+ $(AFS_LDRULE) $@.o $(SAMPLELIBS) $(LIB_roken) $(MT_LIBS) $(XLIBS)
rxstat_query_peer: rxstat_query_peer.o $(SAMPLELIBS)
- $(AFS_LDRULE) $@.o $(SAMPLELIBS) $(MT_LIBS) $(XLIBS)
+ $(AFS_LDRULE) $@.o $(SAMPLELIBS) $(LIB_roken) $(MT_LIBS) $(XLIBS)
rxstat_query_process: rxstat_query_process.o $(SAMPLELIBS)
- $(AFS_LDRULE) $@.o $(SAMPLELIBS) $(MT_LIBS) $(XLIBS)
+ $(AFS_LDRULE) $@.o $(SAMPLELIBS) $(LIB_roken) $(MT_LIBS) $(XLIBS)
#
# Errors
CFLAGS_client.o = @CFLAGS_NOERROR@
afscp: afscp.o $(AFSCPOBJS) $(AFSCPLIBS)
- $(AFS_LDRULE) afscp.o $(AFSCPOBJS) $(AFSCPLIBS) ${MT_LIBS} $(XLIBS)
+ $(AFS_LDRULE) afscp.o $(AFSCPOBJS) $(AFSCPLIBS) \
+ $(LIB_roken) ${MT_LIBS} $(XLIBS)
#######################################################################
install:
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
#include <afs/stds.h>
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
+
#include <ctype.h>
#include "bos.h"
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
#include "client.h"
#include <afs/cellconfig.h>
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
#include "kas.h"
#include <time.h>
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
#include "pts.h"
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
#include "util.h"
#include <afsconfig.h>
#include <afs/param.h>
+
+#include <roken.h>
+
#ifndef AFS_NT40_ENV
#include <netdb.h>
#include <netinet/in.h>
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
#include <afs/stds.h>
#include <stdio.h>
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
#include "lockprocs.h"
#include <string.h>
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
#include "vosutils.h"
#include "vsprocs.h"
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
#include "vsprocs.h"
#include "vosutils.h"
$(DESTDIR)\lib\afs\afsprocmgmt.lib \
$(DESTDIR)\lib\afslwp.lib \
$(DESTDIR)\lib\lanahelper.lib \
- $(DESTDIR)\lib\libafsconf.lib
+ $(DESTDIR)\lib\libafsconf.lib \
+ $(DESTDIR)\lib\afsroken.lib
$(LIBFILE): $(DLLOBJS) $(DLLLIBS) $(RXOBJS)
$(DLLCONLINK) /DEF:afsauthent.def rpcrt4.lib dnsapi.lib mpr.lib secur32.lib shell32.lib
$(DESTDIR)\lib\afspthread.lib \
!ENDIF
$(DESTDIR)\lib\afs\afsutil.lib \
- $(DESTDIR)\lib\afs\afsreg.lib
+ $(DESTDIR)\lib\afs\afsreg.lib \
+ $(DESTDIR)\lib\afsroken.lib
$(LIBFILE): $(DLLOBJS) $(DLLLIBS)
$(DLLCONLINK) /DEF:afsrpc.def iphlpapi.lib
${TOP_LIBDIR}/$(LIBAFSWEBKRB)
linktest: UAFS/$(LIBUAFS) ${TOP_OBJDIR}/lib/libdes.a
- $(CC) $(TEST_CFLAGS) $(TEST_LDFLAGS) -o linktest ${srcdir}/linktest.c $(COMMON_INCLUDE) -DUKERNEL UAFS/$(LIBUAFS) ${TOP_LIBDIR}/libcmd.a ${TOP_LIBDIR}/libdes.a ${TOP_LIBDIR}/libafsutil.a $(TEST_LIBS) $(XLIBS)
+ $(CC) $(TEST_CFLAGS) $(TEST_LDFLAGS) $(LDFLAGS_roken) -o linktest \
+ ${srcdir}/linktest.c $(COMMON_INCLUDE) -DUKERNEL \
+ UAFS/$(LIBUAFS) ${TOP_LIBDIR}/libcmd.a \
+ ${TOP_LIBDIR}/libdes.a ${TOP_LIBDIR}/libafsutil.a \
+ $(LIB_roken) $(TEST_LIBS) $(XLIBS)
CRULE1= $(CC) $(COMMON_INCLUDE) $(OPTF) -DKERNEL $(LIBJUAFS_FLAGS) $(CFLAGS) -c $?
# Build targets
#
kseal: kseal.o ${LIBRARIES}
- $(AFS_LDRULE) kseal.o ${LIBRARIES} ${XLIBS}
+ $(AFS_LDRULE) kseal.o ${LIBRARIES} $(LIB_roken) ${XLIBS}
unlog: unlog.o ${LIBRARIES}
- $(AFS_LDRULE) unlog.o ${LIBRARIES} ${XLIBS}
+ $(AFS_LDRULE) unlog.o ${LIBRARIES} $(LIB_roken) ${XLIBS}
tokens: tokens.o ${LIBRARIES}
- $(AFS_LDRULE) tokens.o ${LIBRARIES} ${XLIBS}
+ $(AFS_LDRULE) tokens.o ${LIBRARIES} $(LIB_roken) ${XLIBS}
tokens.krb: tokens.o ${KLIBRARIES}
- $(AFS_LDRULE) tokens.o ${KLIBRARIES} ${XLIBS}
+ $(AFS_LDRULE) tokens.o ${KLIBRARIES} $(LIB_roken) ${XLIBS}
kseal.o: kseal.c ${INCLS} AFS_component_version_number.c
unlog.o: unlog.c AFS_component_version_number.c
#ifdef AFS_PTHREAD_ENV
#include <afs/afs_assert.h>
/* can't include this in lwp, rx hasn't built yet */
+
+#include <roken.h>
#include <rx/rx.h>
#else
#include <assert.h>
#
ptserver: ptserver.o ptutils.o ptprocs.o ptint.ss.o ptint.xdr.o utils.o $(LIBS) ${TOP_LIBDIR}/libaudit.a map.o
$(AFS_LDRULE) ptserver.o ptutils.o ptprocs.o ptint.ss.o ptint.xdr.o \
- utils.o map.o $(LIBS) ${XLIBS} ${TOP_LIBDIR}/libaudit.a
+ utils.o map.o $(LIBS) $(LIB_roken) ${XLIBS} ${TOP_LIBDIR}/libaudit.a
ptserver.o: ptserver.c ${INCLS} AFS_component_version_number.c
db_verify.o: db_verify.c ${INCLS} AFS_component_version_number.c
db_verify: db_verify.o pterror.o display.o $(LIBS)
- $(AFS_LDRULE) db_verify.o display.o pterror.o $(LIBS) ${XLIBS}
+ $(AFS_LDRULE) db_verify.o display.o pterror.o \
+ $(LIBS) $(LIB_roken) ${XLIBS}
ptclient: ptclient.o display.o libprot.a $(LIBS)
- $(AFS_LDRULE) ptclient.o display.o libprot.a $(LIBS) ${XLIBS}
+ $(AFS_LDRULE) ptclient.o display.o libprot.a \
+ $(LIBS) $(LIB_roken) ${XLIBS}
ptclient.o: ptclient.c ${INCLS} AFS_component_version_number.c
$(RANLIB) $@
pts: pts.o libprot.a ${TOP_LIBDIR}/libcmd.a $(LIBS)
- $(AFS_LDRULE) pts.o ${TOP_LIBDIR}/libcmd.a libprot.a ${LIBS} ${XLIBS}
+ $(AFS_LDRULE) pts.o ${TOP_LIBDIR}/libcmd.a libprot.a \
+ ${LIBS} $(LIB_roken) ${XLIBS}
pts.o: pts.c ${LINCLS} ${TOP_INCDIR}/afs/cmd.h AFS_component_version_number.c
readgroup: readgroup.o libprot.a $(LIBS)
- $(AFS_LDRULE) readgroup.o libprot.a ${LIBS} ${XLIBS}
+ $(AFS_LDRULE) readgroup.o libprot.a \
+ ${LIBS} $(LIB_roken) ${XLIBS}
readgroup.o: readgroup.c ${LINCLS} AFS_component_version_number.c
readpwd: readpwd.o libprot.a $(LIBS)
- $(AFS_LDRULE) readpwd.o libprot.a ${LIBS} ${XLIBS}
+ $(AFS_LDRULE) readpwd.o libprot.a \
+ ${LIBS} $(LIB_roken) ${XLIBS}
readpwd.o: readpwd.c ${LINCLS} AFS_component_version_number.c
case "$(SYS_NAME)" in \
*_darwin_12 ) \
$(AFS_LDRULE) testpt.o ${TOP_LIBDIR}/libcmd.a \
- libprot.a $(LIBS) ;; \
+ libprot.a $(LIBS) $(LIB_roken) ;; \
* ) \
$(AFS_LDRULE) testpt.o -lm ${TOP_LIBDIR}/libcmd.a \
- libprot.a $(LIBS) ${XLIBS} ;; \
+ libprot.a $(LIBS) $(LIB_roken) ${XLIBS} ;; \
esac
testpt.o: testpt.c ${INCLS} ${TOP_INCDIR}/afs/cmd.h AFS_component_version_number.c
pt_util: pt_util.o ptutils.o ubik.o utils.o map.o libprot.a $(LIBS)
$(AFS_LDRULE) pt_util.o ptutils.o ubik.o utils.o map.o libprot.a \
- ${TOP_LIBDIR}/libcmd.a $(LIBS) ${XLIBS}
+ ${TOP_LIBDIR}/libcmd.a $(LIBS) $(LIB_roken) ${XLIBS}
ubik.o: ubik.c ${INCLS}
$(DESTDIR)\lib\afs\afseventlog.lib \
$(DESTDIR)\lib\afs\afsreg.lib \
$(DESTDIR)\lib\libafsconf.lib \
- $(DESTDIR)\lib\afs\afspioctl.lib
+ $(DESTDIR)\lib\afs\afspioctl.lib \
+ $(DESTDIR)\lib\afsroken.lib
!IF (("$(SYS_NAME)"!="i386_win95" ) && ("$(SYS_NAME)"!="I386_WIN95" ))
PTSERVER_EXELIBS =$(PTSERVER_EXELIBS) $(DESTDIR)\lib\afs\afsprocmgmt.lib
$(DESTDIR)\lib\afs\afsreg.lib \
$(DESTDIR)\lib\afs\afseventlog.lib \
$(DESTDIR)\lib\afs\afspioctl.lib \
- $(DESTDIR)\lib\libafsconf.lib
+ $(DESTDIR)\lib\libafsconf.lib \
+ $(DESTDIR)\lib\afsroken.lib
$(PTS): $(PTS_EXEOBJS) $(PTS_EXELIBS)
$(EXECONLINK) dnsapi.lib mpr.lib iphlpapi.lib shell32.lib
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
/*
* (3) Define a structure, idused, instead of an
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
#include <afs/stds.h>
#include <sys/types.h>
* output of this program to be valid.
*/
+#include <afsconfig.h>
+#include <afs/param.h>
+#include <roken.h>
+
#include <sys/types.h>
#ifndef _WIN32
#include <sys/time.h>
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
#ifdef AFS_AIX32_ENV
#include <signal.h>
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
#include <afs/stds.h>
#include <ctype.h>
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
#include <stdio.h>
#include <string.h>
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
#include <afs/stds.h>
#ifdef AFS_AIX32_ENV
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
+
#include <afs/stds.h>
#include <ctype.h>
#include <sys/types.h>
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
#include <afs/stds.h>
#include <sys/types.h>
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
#include <stdio.h>
#ifdef AFS_NT40_ENV
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
#include <stdio.h>
#ifdef AFS_NT40_ENV
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
#include <ctype.h>
#include <errno.h>
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
#include <sys/types.h>
#ifdef AFS_NT40_ENV
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
+
#include <sys/types.h>
#include <lock.h>
#include <ubik.h>
--- /dev/null
+# Copyright 2010, Your File System Inc
+# All rights reserved
+#
+# This software has been released under the terms of the BSD License
+# For details, see the LICENSE file in the top level source directory
+
+RELDIR=roken
+!include ..\config\NTMakefile.$(SYS_NAME)
+!include ..\config\NTMakefile.version
+AFSDEV_AUXCDEFINES = $(AFSDEV_AUXCDEFINES) -DHAVE_CONFIG_H=1
+
+ROKEN = $(SRC)\external\heimdal\roken
+
+INCFILEDIR = $(DESTDIR)\include
+
+INCFILES = \
+ $(INCFILEDIR)\err.h \
+ $(INCFILEDIR)\roken.h
+
+ROKEN_INCFILES = \
+ $(INCFILEDIR)\roken-common.h
+
+LIBFILE = $(DESTDIR)\lib\afsroken.dll
+
+ROKEN_OBJS = \
+ $(OUT)\cloexec.obj \
+ $(OUT)\ct.obj \
+ $(OUT)\ecalloc.obj \
+ $(OUT)\emalloc.obj \
+ $(OUT)\erealloc.obj \
+ $(OUT)\err.obj \
+ $(OUT)\errx.obj \
+ $(OUT)\getopt.obj \
+ $(OUT)\getprogname.obj \
+ $(OUT)\hex.obj \
+ $(OUT)\issuid.obj \
+ $(OUT)\localtime_r.obj \
+ $(OUT)\net_read.obj \
+ $(OUT)\net_write.obj \
+ $(OUT)\snprintf.obj \
+ $(OUT)\socket.obj \
+ $(OUT)\strerror_r.obj \
+ $(OUT)\strlcat.obj \
+ $(OUT)\strlcpy.obj \
+ $(OUT)\strnlen.obj \
+ $(OUT)\verr.obj \
+ $(OUT)\verrx.obj \
+ $(OUT)\vwarn.obj \
+ $(OUT)\vwarnx.obj \
+ $(OUT)\warn.obj \
+ $(OUT)\warnerr.obj \
+ $(OUT)\warnx.obj
+
+$(ROKEN_OBJS):$(ROKEN)\$$(@B).c
+ $(C2OBJ) $** -I$(ROKEN)
+
+$(ROKEN_INCFILES):$(ROKEN)\$$(@B).h
+ $(COPY) $** $(INCFILEDIR)
+
+$(INCFILES):$$(@B).h
+ $(COPY) $** $(INCFILEDIR)
+
+roken.h: $(ROKEN)\roken.h.in
+ $(COPY) $** $@
+
+err.h: $(ROKEN)\err.hin
+ $(COPY) $** $@
+
+!if !defined(NMAKE)
+NTMAKE = nmake /nologo /f ntmakefile
+!endif
+
+DLLLIBS = \
+# $(DESTDIR)\lib\afs\afsreg.lib
+
+$(LIBFILE): $(ROKEN_OBJS) $(DLLLIBS)
+ $(DLLCONLINK) /DEF:afsroken.def shell32.lib
+ $(_VC_MANIFEST_EMBED_DLL)
+ $(DLLPREP)
+ $(CODESIGN_USERLAND)
+ $(SYMSTORE_IMPORT)
+ $(MAKECYGLIB) --input-def afsroken.def
+
+# Definitions for generating versioninfo resources
+$(OUT)\afsroken.res: AFS_component_version_number.h
+
+install_headers: $(INCFILES) $(ROKEN_INCFILES)
+
+install: install_headers $(LIBFILE)
+
+clean::
+ $(DEL) $(INCFILES)
+ $(DEL) err.h
+ $(DEL) $(LIBFILE) $(DESTDIR)\lib\afsroken.lib $(DESTDIR)\lib\afsroken.exp
--- /dev/null
+EXPORTS
+ ct_memcmp @1
+ err @3
+ errx @4
+ getopt @5
+ issuid @9
+ net_read @10
+ net_write @11
+ rk_cloexec @12
+ rk_cloexec_file @13
+ rk_ecalloc @14
+ rk_emalloc @15
+ rk_erealloc @16
+ rk_hex_encode @17
+ rk_localtime_r @18
+ rk_snprintf @19
+ rk_socket @20
+ rk_strlcat @21
+ rk_strnlen @22
+ rk_strlcpy @23
+ verr @25
+ verrx @26
+ vwarn @27
+ vwarnx @28
+ warn @29
+ warnx @30
--- /dev/null
+/*
+ * Copyright 2010, Your File System Inc
+ * All rights reserved
+ *
+ * This software has been released under the terms of the BSD License
+ * For details, see the LICENSE file in the top level source directory
+ */
+
+#define AFS_VERINFO_FILE_DESCRIPTION "AFS Roken Compatibility DLL"
+#define AFS_VERINFO_DLL
+#define AFS_VERINFO_NAME "afsroken"
+#define AFS_VERINFO_FILENAME "afsroken.dll"
+
+#include "AFS_component_version_number.h"
+#include "..\config\NTVersioninfo.rc"
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-
#include <afsconfig.h>
#include <afs/param.h>
# endif /* AFS_AIX41_ENV */
# include "afs/rxgen_consts.h"
#else /* KERNEL */
+# include <roken.h>
# include <sys/types.h>
# include <string.h>
# include <stdarg.h>
#include <afsconfig.h>
#include <afs/param.h>
+#ifndef KERNEL
+# include <roken.h>
+#endif /* KERNEL */
+
#include <sys/types.h>
#include <errno.h>
#include "rx.h"
# include "h/proc.h"
# endif
#else /* KERNEL */
+# include <roken.h>
# include <stdio.h>
# include "rx_user.h"
# ifdef AFS_PTHREAD_ENV
#include <afsconfig.h>
#include "afs/param.h"
-
/* Enable data initialization when the header file is included */
#define GLOBALSINIT(stuff) = stuff
#if defined(AFS_NT40_ENV) && defined(AFS_PTHREAD_ENV)
#endif
#ifdef KERNEL
-#ifndef UKERNEL
-#include "h/types.h"
-#else /* !UKERNEL */
-#include "afs/sysincludes.h"
-#endif /* UKERNEL */
+# ifndef UKERNEL
+# include "h/types.h"
+# else /* !UKERNEL */
+# include "afs/sysincludes.h"
+# endif /* UKERNEL */
+#else /* KERNEL */
+# include <roken.h>
#endif /* KERNEL */
#include "rx_globals.h"
#include <afs/param.h>
#ifndef KERNEL
+# include <roken.h>
# include <sys/types.h>
# include <string.h>
#else
#include <afsconfig.h>
#include <afs/param.h>
+#ifndef KERNEL
+# include <roken.h>
+#endif /* KERNEL */
#include <sys/types.h> /* fd_set on older platforms */
#include <errno.h>
#include <afsconfig.h>
#include <afs/param.h>
-
#ifdef KERNEL
# include <afs/sysincludes.h>
# include <afsincludes.h>
#else
+# include <roken.h>
# ifdef AFS_NT40_ENV
# include <winsock2.h>
# include <malloc.h>
#include <afsconfig.h>
#include <afs/param.h>
-
#ifdef KERNEL
#include "afs/sysincludes.h"
-#endif
+#else /* KERNEL */
+# include <roken.h>
+#endif /* KERNEL */
#include "rx.h"
# else /* !UKERNEL */
# include "afs/sysincludes.h"
# endif /* !UKERNEL */
+#else /* KERNEL */
+# include <roken.h>
#endif /* KERNEL */
#include "rx.h"
#include <afs/param.h>
#ifndef KERNEL
+# include <roken.h>
# include <sys/types.h>
# include <string.h>
# include <errno.h>
# include "rx_kmutex.h"
# endif /* defined(UKERNEL) */
#else /* KERNEL */
+# include <roken.h>
# include <sys/types.h>
# include <sys/stat.h>
# include <errno.h>
};
/* For most Unixes, maximum elements in an iovec is 16 */
-#define RX_MAXIOVECS 16 /* limit for ReadvProc/WritevProc */
-#define RX_MAXWVECS RX_MAXIOVECS-1 /* need one iovec for packet header */
+#define RX_MAXIOVECS 16 /* limit for ReadvProc/WritevProc */
+#define RX_MAXWVECS (RX_MAXIOVECS-1) /* need one iovec for packet header */
/*
* The values for the RX buffer sizes are calculated to ensure efficient
*/
#define RX_EXTRABUFFERSIZE 4
+#ifndef RX_MAXWVECS
+#error RX_MAXWVECS not defined
+#endif
+
struct rx_packet {
struct rx_queue queueItemHeader; /* Packets are chained using the queue.h package */
struct clock retryTime; /* When this packet should NEXT be re-transmitted */
#include <afsconfig.h>
#include <afs/param.h>
+#ifndef KERNEL
+# include <roken.h>
+#endif /* KERNEL */
#include <sys/types.h>
#include <errno.h>
# include "rx/rx_kernel.h"
# include "afs/lock.h"
#else /* KERNEL */
+# include <roken.h>
# include <sys/types.h>
# include <string.h>
# ifdef AFS_NT40_ENV
#include <afs/param.h>
#if !defined(KERNEL)
+#include <roken.h>
#include <string.h>
#endif
#include <afsconfig.h>
#include <afs/param.h>
+#ifndef KERNEL
+# include <roken.h>
+#endif /* KERNEL */
#ifndef RXDEBUG
char rxi_tracename[80] = "\0Tracing not compiled in";
#include <afsconfig.h>
#include <afs/param.h>
+#ifndef KERNEL
+# include <roken.h>
+#endif /* KERNEL */
#include <sys/types.h>
#include <errno.h>
#include <afs/param.h>
#if defined(AFS_NT40_ENV)
-
-#include <winsock2.h>
-#if (_WIN32_WINNT < 0x0501)
-#undef _WIN32_WINNT
-#define _WIN32_WINNT 0x0501
-#endif
-#include <mswsock.h>
-
-#if (_WIN32_WINNT < 0x0600)
+# include <roken.h>
+# include <winsock2.h>
+# if (_WIN32_WINNT < 0x0501)
+# undef _WIN32_WINNT
+# define _WIN32_WINNT 0x0501
+# endif
+# include <mswsock.h>
+
+# if (_WIN32_WINNT < 0x0600)
/*
* WSASendMsg -- send data to a specific destination, with options, using
* overlapped I/O where applicable.
IN LPWSAOVERLAPPED_COMPLETION_ROUTINE lpCompletionRoutine OPTIONAL
);
-#define WSAID_WSASENDMSG /* a441e712-754f-43ca-84a7-0dee44cf606d */ \
+# define WSAID_WSASENDMSG /* a441e712-754f-43ca-84a7-0dee44cf606d */ \
{0xa441e712,0x754f,0x43ca,{0x84,0xa7,0x0d,0xee,0x44,0xcf,0x60,0x6d}}
-#endif /* _WINNT_WIN32 */
+#endif /* AFS_NT40_ENV */
#include "rx.h"
#include "rx_packet.h"
#ifndef _RX_XMIT_NT_H_
#define _RX_XMIT_NT_H_
-typedef struct iovec
-{
- unsigned long iov_len;
- char *iov_base;
-}
-iovec_t;
-
-struct msghdr {
- char *msg_name;
- int msg_namelen;
- iovec_t *msg_iov;
- int msg_iovlen;
- caddr_t msg_accrights;
- int msg_accrightslen;
-};
-
extern int rxi_sendmsg(osi_socket socket, struct msghdr *msgP, int flags);
+#undef sendmsg
#define sendmsg rxi_sendmsg
extern int rxi_recvmsg(osi_socket socket, struct msghdr *msgP, int flags);
#define recvmsg rxi_recvmsg
#include <afs/param.h>
#ifndef KERNEL
-#include <string.h>
+# include <roken.h>
+# include <string.h>
#endif
*/
#include <afsconfig.h>
#include <afs/param.h>
-#include "rx.h"
-
#ifndef NeXT
+#ifndef KERNEL
+# include <roken.h>
+#endif
+
+#include "rx.h"
+
/*
* xdr_array.c, Generic XDR routines impelmentation.
*
*/
#include <afsconfig.h>
#include <afs/param.h>
+
+#ifndef KERNEL
+# include <roken.h>
+#endif
+
#include "rx.h"
#include <afsconfig.h>
#include <afs/param.h>
-
#ifdef KERNEL
# include "afs/sysincludes.h"
# ifndef UKERNEL
# include "netinet/in.h"
# endif /* !UKERNEL */
#else /* KERNEL */
+# include <roken.h>
# include <sys/types.h>
# include <stdio.h>
# ifndef AFS_NT40_ENV
$(AFS_CCRULE) $(srcdir)/../rx/rx_trace.c
rxdumptrace: rxdumptrace.o ${LIBS}
- $(AFS_LDRULE) rxdumptrace.o ${LIBS} ${XLIBS}
+ $(AFS_LDRULE) rxdumptrace.o ${LIBS} $(LIB_roken) ${XLIBS}
rxdebug: rxdebug.o ${LIBS}
- $(AFS_LDRULE) rxdebug.o ${LIBS} ${XLIBS}
+ $(AFS_LDRULE) rxdebug.o ${LIBS} $(LIB_roken) ${XLIBS}
#
# Install targets
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
#include <sys/types.h>
#include <errno.h>
} else {
f_print(fout, "#include <afsconfig.h>\n");
f_print(fout, "#include <afs/param.h>\n");
+ f_print(fout, "#include <roken.h>\n");
}
f_print(fout, "#ifdef AFS_NT40_ENV\n");
f_print(fout, "#define AFS_RXGEN_EXPORT __declspec(dllexport)\n");
+ f_print(fout, "#include <winsock2.h>\n");
f_print(fout, "#endif /* AFS_NT40_ENV */\n");
}
if (currfile && (include = extendfile(currfile, ".h"))) {
if (kflag) {
f_print(fout, "#include \"%s\"\n\n", include);
} else {
+ f_print(fout, "#include <afsconfig.h>\n");
+ f_print(fout, "#include <afs/param.h>\n");
+ f_print(fout, "#include <roken.h>\n");
f_print(fout, "#include \"%s\"\n\n", include);
}
free(include);
if (kflag) {
f_print(fout, "#include \"%s\"\n", include);
} else {
+ f_print(fout, "#include <afsconfig.h>\n");
+ f_print(fout, "#include <afs/param.h>\n");
+ f_print(fout, "#include <roken.h>\n");
f_print(fout, "#include \"%s\"\n\n", include);
}
free(include);
#include "afs/param.h"
#else
#include <afs/param.h>
+#include <roken.h>
#endif
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
#include <afs/stds.h>
#include <sys/types.h>
#include "afs/param.h"
#else
#include <afs/param.h>
+#include <roken.h>
#endif
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
+
#include <afs/stds.h>
#include <sys/types.h>
#ifdef AFS_NT40_ENV
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
+
#include <afs/stds.h>
#include <sys/types.h>
#ifdef AFS_NT40_ENV
#include "afs/param.h"
#else
#include <afs/param.h>
+#include <roken.h>
#endif
#include "afs/param.h"
#else
#include <afs/param.h>
+#include <roken.h>
#endif
#ifdef AFS_SUN59_ENV
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
#include <afs/stds.h>
#include <sys/types.h>
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
+
#include <stdio.h>
#include <afs/stds.h>
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
+
#ifdef IGNORE_SOME_GCC_WARNINGS
# pragma GCC diagnostic warning "-Wimplicit-function-declaration"
#endif
#include <afsconfig.h>
#include <afs/param.h>
+#ifndef KERNEL
+#include <roken.h>
+#endif
#include <afs/stds.h>
#include <rx/rx.h>
scout.o: scout.c ${INCLS} AFS_component_version_number.c
scout: scout.o $(LIBS)
- $(AFS_LDRULE) scout.o $(LIBS) ${TXLIBS} ${XLIBS}
+ $(AFS_LDRULE) scout.o $(LIBS) $(LIB_roken) ${TXLIBS} ${XLIBS}
#
# Installation targets
${RXGEN} -A -k -h -o Krmtsys.h ${srcdir}/rmtsys.xg
rmtsysd: rmtsysd.o libsys.a
- $(AFS_LDRULE) rmtsysd.o ${LIBS}
+ $(AFS_LDRULE) rmtsysd.o ${LIBS} $(LIB_roken)
pagsh: pagsh.o libsys.a AFS_component_version_number.o
- $(AFS_LDRULE) pagsh.o ${LIBS}
+ $(AFS_LDRULE) pagsh.o ${LIBS} $(LIB_roken)
CFLAGS_pagsh.krb.o = -DAFS_KERBEROS_ENV
pagsh.krb.o: pagsh.c
pagsh.krb: libsys.a pagsh.krb.o ${TOP_LIBDIR}/libauth.krb.a ${TOP_LIBDIR}/librxkad.a ${TOP_LIBDIR}/libdes.a
$(AFS_LDRULE) pagsh.krb.o ${TOP_LIBDIR}/libauth.krb.a \
- ${TOP_LIBDIR}/librxkad.a ${TOP_LIBDIR}/libdes.a ${LIBS}
+ ${TOP_LIBDIR}/librxkad.a ${TOP_LIBDIR}/libdes.a ${LIBS} $(LIB_roken)
#
# Test programs.
#include <afsconfig.h>
#include <afs/param.h>
+#include <roken.h>
#include <afs/stds.h>
#include <windows.h>
all: butc
butc: ${BUTCOBJS} ${BUTCLIBS}
- $(AFS_LDRULE) ${BUTCOBJS} ${BUTCLIBS} ${MT_LIBS} ${XLIBS}
+ $(AFS_LDRULE) ${BUTCOBJS} ${BUTCLIBS} \
+ $(LIB_roken) ${MT_LIBS} ${XLIBS}
libbutm.a: ${BUTMOBJS} AFS_component_version_number.o
-$(RM) -f libbutm.a
$(DESTDIR)\lib\afspthread.lib \
!ENDIF
$(DESTDIR)\lib\afsdes.lib \
- $(DESTDIR)\lib\libafsconf.lib
+ $(DESTDIR)\lib\libafsconf.lib \
+ $(DESTDIR)\lib\afsroken.lib
# rm $(OUT)\tcstatus.obj
SSSDEBUG_OBJS = salvsync-debug.o physio.o common.o ${UTILOBJS} ${VLIBOBJS} ${DIROBJS} ${LWPOBJS}
-LIBS=${TOP_LIBDIR}/libafsauthent.a ${TOP_LIBDIR}/libafsrpc.a ${TOP_LIBDIR}/util.a ${TOP_LIBDIR}/libcmd.a
+LIBS=${TOP_LIBDIR}/libafsauthent.a \
+ ${TOP_LIBDIR}/libafsrpc.a \
+ ${TOP_LIBDIR}/util.a \
+ ${TOP_LIBDIR}/libcmd.a
SLIBS=${TOP_LIBDIR}/libcmd.a ${TOP_LIBDIR}/libdir.a \
${TOP_LIBDIR}/libvlib.a ${TOP_LIBDIR}/librx.a \
$(AFS_CCRULE) $(VOL)/namei_ops.c
salvageserver: ${OBJECTS} ${LIBS}
- $(AFS_LDRULE) ${OBJECTS} ${LIBS} ${MT_LIBS} ${XLIBS}
+ $(AFS_LDRULE) ${OBJECTS} ${LIBS} \
+ $(LIB_roken) ${MT_LIBS} ${XLIBS}
dasalvager: ${SOBJECTS} ${SLIBS}
- $(AFS_LDRULE) ${SOBJECTS} ${SLIBS} ${XLIBS}
+ $(AFS_LDRULE) ${SOBJECTS} ${SLIBS} \
+ $(LIB_roken) ${XLIBS}
dafssync-debug: ${FSSDEBUG_OBJS} ${LIBS}
- $(AFS_LDRULE) ${FSSDEBUG_OBJS} ${LIBS} ${MT_LIBS} ${XLIBS}
+ $(AFS_LDRULE) ${FSSDEBUG_OBJS} ${LIBS} \
+ $(LIB_roken) ${MT_LIBS} ${XLIBS}
salvsync-debug: ${SSSDEBUG_OBJS} ${LIBS}
- $(AFS_LDRULE) ${SSSDEBUG_OBJS} ${LIBS} ${MT_LIBS} ${XLIBS}
+ $(AFS_LDRULE) ${SSSDEBUG_OBJS} ${LIBS} \
+ $(LIB_roken) ${MT_LIBS} ${XLIBS}
install: salvageserver dafssync-debug salvsync-debug dasalvager
${INSTALL} -d ${DESTDIR}${afssrvlibexecdir}
$(RM) -f *.o $(AUTHLIBS) $(AUTHFILES) so_locations
aklog_dynamic_auth: ${AUTH_KRB5_OBJS} ${AFSLIBS} ${AUTHFILES}
- $(LD) -o $@ ${AUTH_KRB5_OBJS} $(AFSLIBS) ${AUTHFILES} @KRB5_LIBS@ ${XLIBS} ${AKLDFLAGS}
+ $(LD) -o $@ ${AUTH_KRB5_OBJS} $(AFSLIBS) ${AUTHFILES} \
+ @KRB5_LIBS@ $(LDFLAGS_roken) $(LIB_roken) ${XLIBS} ${AKLDFLAGS}
afs_dynamic_auth: ${AUTH_OBJS} ${AFSLIBS} ${AUTHFILES}
- $(LD) -o $@ ${AUTH_OBJS} $(AFSLIBS) ${AUTHFILES} ${XLIBS} ${LDFLAGS}
+ $(LD) -o $@ ${AUTH_OBJS} $(AFSLIBS) ${AUTHFILES} \
+ $(LDFLAGS_roken) $(LIB_roken) ${XLIBS} ${LDFLAGS}
afs_dynamic_kerbauth: ${AUTH_KRB_OBJS} ${KAFSLIBS} ${AUTHFILES}
- $(LD) -o $@ ${AUTH_KRB_OBJS} $(KAFSLIBS) ${AUTHFILES} ${XLIBS} ${LDFLAGS}
+ $(LD) -o $@ ${AUTH_KRB_OBJS} $(KAFSLIBS) ${AUTHFILES} \
+ $(LDFLAGS_roken) $(LIB_roken) ${XLIBS}&nbs