which included commits to RCS files with non-trunk default branches.
hp_ux110
i386_linux22
i386_linux24
+i386_umlinux22
+i386_umlinux24
include
lib
sgi_65
i386_fbsd46 (gmake is required to build for FreeBSD)
i386_linux22
i386_linux24
+ i386_umlinux22
+ i386_umlinux24
rs_aix42
sgi_65 (file server not tested)
sun4_413 (No client support, no fileserver support, db servers only)
#undef BITMAP_LATER
#undef BOS_RESTRICTED_MODE
+#undef BOS_NEW_CONFIG
#undef FAST_RESTART
#undef FULL_LISTVOL_SWITCH
#undef EXPORTED_KALLSYMS_ADDRESS
#undef EXPORTED_KALLSYMS_SYMBOL
#undef EXPORTED_SYS_CALL_TABLE
+#undef EXPORTED_IA32_SYS_CALL_TABLE
#undef EXPORTED_TASKLIST_LOCK
#undef INODE_SETATTR_NOT_VOID
#undef RECALC_SIGPENDING_TAKES_VOID
#undef STRUCT_FS_HAS_FS_ROLLED
#undef STRUCT_INODE_HAS_I_DEVICES
#undef STRUCT_INODE_HAS_I_DIRTY_DATA_BUFFERS
+#undef STRUCT_INODE_HAS_I_ALLOC_SEM
#undef STRUCT_INODE_HAS_I_TRUNCATE_SEM
#undef STRUCT_TASK_STRUCT_HAS_PARENT
#undef STRUCT_TASK_STRUCT_HAS_REAL_PARENT
AC_INIT(Makefile.common)
-AM_INIT_AUTOMAKE(openafs-libafs,1.2.9)
+AM_INIT_AUTOMAKE(openafs-libafs,1.2.10)
AC_CONFIG_HEADER(config/afsconfig.h)
define(OPENAFS_CONFIGURE_LIBAFS)
//
#include <windows.h>
#define AFS_VERINFO_FILE_DESCRIPTION "AFS Setup Utilities DLL"
+#define AFS_VERINFO_DLL
+#define AFS_VERINFO_NAME "afs_setup_utils"
+#define AFS_VERINFO_FILENAME "afs_setup_utils.dll"
#include "AFS_component_version_number.h"
#include "..\..\config\NTVersioninfo.rc"
//
#include <windows.h>
#define AFS_VERINFO_FILE_DESCRIPTION "AFS Setup Utilities DLL"
+#define AFS_VERINFO_NAME "afs_setup_utils"
+#define AFS_VERINFO_FILENAME "afs_setup_utils.exe"
+#define AFS_VERINFO_CHARSET 1252
+#define AFS_VERINFO_LANG_CODE 0x407
#include "AFS_component_version_number.h"
#include "..\..\..\..\config\NTVersioninfo.rc"
//
#include <windows.h>
#define AFS_VERINFO_FILE_DESCRIPTION "AFS Setup Utilities DLL"
+#define AFS_VERINFO_NAME "afs_setup_utils"
+#define AFS_VERINFO_FILENAME "afs_setup_utils.exe"
+#define AFS_VERINFO_CHARSET 1252
+#define AFS_VERINFO_LANG_CODE 0x409
#include "AFS_component_version_number.h"
#include "..\..\..\..\config\NTVersioninfo.rc"
//
#include <windows.h>
#define AFS_VERINFO_FILE_DESCRIPTION "AFS Setup Utilities DLL"
+#define AFS_VERINFO_NAME "afs_setup_utils"
+#define AFS_VERINFO_FILENAME "afs_setup_utils.exe"
+#define AFS_VERINFO_CHARSET 1252
+#define AFS_VERINFO_LANG_CODE 0x40a
#include "AFS_component_version_number.h"
#include "..\..\..\..\config\NTVersioninfo.rc"
//
#include <windows.h>
#define AFS_VERINFO_FILE_DESCRIPTION "AFS \83Z\83b\83g\83A\83b\83v\81E\83\86\81[\83e\83B\83\8a\83e\83B\81[ DLL"
+#define AFS_VERINFO_NAME "afs_setup_utils"
+#define AFS_VERINFO_FILENAME "afs_setup_utils.exe"
+#define AFS_VERINFO_CHARSET 932
+#define AFS_VERINFO_LANG_CODE 0x411
#include "AFS_component_version_number.h"
#include "..\..\..\..\config\NTVersioninfo.rc"
//\r
#include <windows.h>\r
#define AFS_VERINFO_FILE_DESCRIPTION "AFS Setup Utilities DLL"\r
+#define AFS_VERINFO_NAME "afs_setup_utils"
+#define AFS_VERINFO_FILENAME "afs_setup_utils.exe"
+#define AFS_VERINFO_CHARSET 949
+#define AFS_VERINFO_LANG_CODE 0x412
#include "AFS_component_version_number.h"\r
#include "..\..\..\..\config\NTVersioninfo.rc"\r
\r
//
#include <windows.h>
#define AFS_VERINFO_FILE_DESCRIPTION "DLL dos Utilitários de Configuração do AFS"
+#define AFS_VERINFO_NAME "afs_setup_utils"
+#define AFS_VERINFO_FILENAME "afs_setup_utils.exe"
+#define AFS_VERINFO_CHARSET 1252
+#define AFS_VERINFO_LANG_CODE 0x416
#include "AFS_component_version_number.h"
#include "..\..\..\..\config\NTVersioninfo.rc"
//
#include <windows.h>
#define AFS_VERINFO_FILE_DESCRIPTION "AFS °²×°ÊµÓóÌÐò DLL"
+#define AFS_VERINFO_NAME "afs_setup_utmls"
+#define AFS_VERINFO_FILENAME "afs_setup_utmls.exe"
+#define AFS_VERINFO_LANG_CODE 0x804
+#define AFS_VERINFO_CHARSET 936
#include "AFS_component_version_number.h"
#include "..\..\..\..\config\NTVersioninfo.rc"
//
#include <windows.h>
#define AFS_VERINFO_FILE_DESCRIPTION "AFS Setup Utilities DLL"
+#define AFS_VERINFO_NAME "afs_setup_utils"
+#define AFS_VERINFO_FILENAME "afs_setup_utils.exe"
+#define AFS_VERINFO_LANG_CODE 0x404
+#define AFS_VERINFO_CHARSET 950
#include "AFS_component_version_number.h"
#include "..\..\..\..\config\NTVersioninfo.rc"
#include <windows.h>
#ifndef APSTUDIO_INVOKED
#define AFS_VERINFO_FILE_DESCRIPTION "AFS Administration Server"
+#define AFS_VERINFO_NAME "afsadmsvr"
+#define AFS_VERINFO_FILENAME "afsadmsvr.exe"
#include "AFS_component_version_number.h"
#include "..\..\config\NTVersioninfo.rc"
#endif // APSTUDIO_INVOKED
#ifndef APSTUDIO_INVOKED
#define AFS_VERINFO_FILE_DESCRIPTION "AFS Application Base DLL"
+#define AFS_VERINFO_DLL
+#define AFS_VERINFO_NAME "afsapplib"
+#define AFS_VERINFO_FILENAME "afsapplib.dll"
#include "AFS_component_version_number.h"
#include "..\..\config\NTVersioninfo.rc"
#endif // APSTUDIO_INVOKED
#include <commctrl.h>\r
#ifndef APSTUDIO_INVOKED\r
#define AFS_VERINFO_FILE_DESCRIPTION "AFS Application Base DLL"\r
+#define AFS_VERINFO_DLL
+#define AFS_VERINFO_NAME "afsapplib"
+#define AFS_VERINFO_FILENAME "afsapplib.dll"
+#define AFS_VERINFO_LANG_CODE 0x407
+#define AFS_VERINFO_CHARSET 1252
#include "AFS_component_version_number.h"\r
#include "..\..\config\NTVersioninfo.rc"\r
#endif // APSTUDIO_INVOKED\r
#include <commctrl.h>
#ifndef APSTUDIO_INVOKED
#define AFS_VERINFO_FILE_DESCRIPTION "AFS Application Base DLL"
+#define AFS_VERINFO_DLL
+#define AFS_VERINFO_NAME "afsapplib"
+#define AFS_VERINFO_FILENAME "afsapplib.dll"
+#define AFS_VERINFO_LANG_CODE 0x409
+#define AFS_VERINFO_CHARSET 1252
#include "AFS_component_version_number.h"
#include "..\..\config\NTVersioninfo.rc"
#endif // APSTUDIO_INVOKED
#include <commctrl.h>\r
#ifndef APSTUDIO_INVOKED\r
#define AFS_VERINFO_FILE_DESCRIPTION "AFS Application Base DLL"\r
+#define AFS_VERINFO_DLL
+#define AFS_VERINFO_NAME "afsapplib"
+#define AFS_VERINFO_FILENAME "afsapplib.dll"
+#define AFS_VERINFO_LANG_CODE 0x40a
+#define AFS_VERINFO_CHARSET 1252
#include "AFS_component_version_number.h"\r
#include "..\..\config\NTVersioninfo.rc"\r
#endif // APSTUDIO_INVOKED\r
#include <commctrl.h>\r
#ifndef APSTUDIO_INVOKED\r
#define AFS_VERINFO_FILE_DESCRIPTION "AFS \83A\83v\83\8a\83P\81[\83V\83\87\83\93\81E\83x\81[\83X DLL"\r
+#define AFS_VERINFO_DLL
+#define AFS_VERINFO_NAME "afsapplib"
+#define AFS_VERINFO_FILENAME "afsapplib.dll"
+#define AFS_VERINFO_LANG_CODE 0x411
+#define AFS_VERINFO_CHARSET 932
#include "AFS_component_version_number.h"\r
#include "..\..\config\NTVersioninfo.rc"\r
#endif // APSTUDIO_INVOKED\r
#include <commctrl.h>\r
#ifndef APSTUDIO_INVOKED\r
#define AFS_VERINFO_FILE_DESCRIPTION "AFS ÀÀ¿ëÇÁ·Î±×·¥ ±âº» DLL"\r
+#define AFS_VERINFO_DLL
+#define AFS_VERINFO_NAME "afsapplib"
+#define AFS_VERINFO_FILENAME "afsapplib.dll"
+#define AFS_VERINFO_LANG_CODE 0x412
+#define AFS_VERINFO_CHARSET 949
#include "AFS_component_version_number.h"\r
#include "..\..\config\NTVersioninfo.rc"\r
#endif // APSTUDIO_INVOKED\r
#include <commctrl.h>\r
#ifndef APSTUDIO_INVOKED\r
#define AFS_VERINFO_FILE_DESCRIPTION "DLL Base da Aplicação AFS"\r
+#define AFS_VERINFO_DLL
+#define AFS_VERINFO_NAME "afsapplib"
+#define AFS_VERINFO_FILENAME "afsapplib.dll"
+#define AFS_VERINFO_LANG_CODE 0x416
+#define AFS_VERINFO_CHARSET 1252
#include "AFS_component_version_number.h"\r
#include "..\..\config\NTVersioninfo.rc"\r
#endif // APSTUDIO_INVOKED\r
#include <commctrl.h>\r
#ifndef APSTUDIO_INVOKED\r
#define AFS_VERINFO_FILE_DESCRIPTION "AFS Ó¦ÓóÌÐò»ù±¾¶¯Ì¬Á´½Ó¿â"\r
+#define AFS_VERINFO_DLL
+#define AFS_VERINFO_NAME "afsapplib"
+#define AFS_VERINFO_FILENAME "afsapplib.dll"
+#define AFS_VERINFO_LANG_CODE 0x804
+#define AFS_VERINFO_CHARSET 936
#include "AFS_component_version_number.h"\r
#include "..\..\config\NTVersioninfo.rc"\r
#endif // APSTUDIO_INVOKED\r
#include <commctrl.h>\r
#ifndef APSTUDIO_INVOKED\r
#define AFS_VERINFO_FILE_DESCRIPTION "AFS Application Base DLL"\r
+#define AFS_VERINFO_DLL
+#define AFS_VERINFO_NAME "afsapplib"
+#define AFS_VERINFO_FILENAME "afsapplib.dll"
+#define AFS_VERINFO_LANG_CODE 0x404
+#define AFS_VERINFO_CHARSET 950
#include "AFS_component_version_number.h"\r
#include "..\..\config\NTVersioninfo.rc"\r
#endif // APSTUDIO_INVOKED\r
cm_vnodeops.obj \
cm_dir.obj \
cm_utils.obj \
+ largeintdotnet.obj \
smb.obj \
smb3.obj \
smb_ioctl.obj \
END
AFSDIcon ICON afsd.ico
+/* Define VERSIONINFO resource */
+
+#define AFS_VERINFO_FILE_DESCRIPTION "AFS Client Driver Application"
+#define AFS_VERINFO_NAME "afsd"
+#define AFS_VERINFO_FILENAME "afsd.exe"
+
+#include "AFS_component_version_number.h"
+#include "..\..\config\NTVersioninfo.rc"
}
else {
cm_dnsEnabled = 1; /* default on */
+ afsi_log("Default to use DNS to find AFS cell servers");
}
+#else /* AFS_AFSDB_ENV */
+ afsi_log("AFS not built with DNS support to find AFS cell servers");
#endif /* AFS_AFSDB_ENV */
#ifdef AFS_FREELANCE_CLIENT
#include <winsock2.h>
#include <osi.h>
-\r
-#ifdef DEBUG\r
-//#define NOTSERVICE\r
-#endif\r
+
+#ifdef DEBUG
+//#define NOTSERVICE
+#endif
extern void afsi_log(char *pattern, ...);
}
}
-#if 0
+#if 1
/* This code was moved to Drivemap.cpp*/
/* Mount a drive into AFS if the user wants us to */
+/* DEE Could check first if we are run as SYSTEM */
void CheckMountDrive()
{
char szAfsPath[_MAX_PATH];
}
}
+#if 0
sprintf(szAfsPath, "\\Device\\LanmanRedirector\\%s\\%s-AFS\\%s", szDriveToMapTo, cm_HostName, szSubMount);
dwResult = DefineDosDevice(DDD_RAW_TARGET_PATH, szDriveToMapTo, szAfsPath);
+#else
+ {
+ NETRESOURCE nr;
+ memset (&nr, 0x00, sizeof(NETRESOURCE));
+
+ sprintf(szAfsPath,"\\\\%s-AFS\\%s",cm_HostName,szSubMount);
+
+ nr.dwScope = RESOURCE_GLOBALNET;
+ nr.dwType=RESOURCETYPE_DISK;
+ nr.lpLocalName=szDriveToMapTo;
+ nr.lpRemoteName=szAfsPath;
+ nr.dwDisplayType = RESOURCEDISPLAYTYPE_SHARE;
+ nr.dwUsage = RESOURCEUSAGE_CONNECTABLE;
+
+ dwResult = WNetAddConnection2(&nr,NULL,NULL,FALSE);
+ }
+#endif
afsi_log("GlobalAutoMap of %s to %s %s", szDriveToMapTo, szSubMount, dwResult ? "succeeded" : "failed");
}
WaitToTerminate = CreateEvent(NULL, TRUE, FALSE, NULL);
-#ifndef NOTSERVICE\r
+#ifndef NOTSERVICE
StatusHandle = RegisterServiceCtrlHandler(AFS_DAEMON_SERVICE_NAME,
(LPHANDLER_FUNCTION) afsd_ServiceControlHandler);
}
/* Check if we should mount a drive into AFS */
-/* CheckMountDrive();*/
+ CheckMountDrive();
WaitForSingleObject(WaitToTerminate, INFINITE);
return ;
}
#else
-void _CRTAPI1 main()
+
+#ifdef _CRTAPI1
+void _CRTAPI1 main(void)
+#else
+void main()
+#endif
{
LONG status = ERROR_SUCCESS;
SERVICE_TABLE_ENTRY dispatchTable[] = {
/* Define VERSIONINFO resource */
#define AFS_VERINFO_FILE_DESCRIPTION "AFS Client Daemon"
+#define AFS_VERINFO_NAME "afsd_service"
+#define AFS_VERINFO_FILENAME "afsd_service.exe"
#include "AFS_component_version_number.h"
#include "..\..\config\NTVersioninfo.rc"
/* Define VERSIONINFO resource */
#define AFS_VERINFO_FILE_DESCRIPTION "AFS Integrated Logon 95 DLL"
+#define AFS_VERINFO_DLL
+#define AFS_VERINFO_NAME "afslog95"
+#define AFS_VERINFO_FILENAME "afslog95.dll"
#include "AFS_component_version_number.h"
#include "..\..\config\NTVersioninfo.rc"
LPWSTR *lpLogonScript)
{
char uname[256];
+ char *ctemp;
char password[256];
char cell[256];
MSV1_0_INTERACTIVE_LOGON *IL;
wcstombs(uname, IL->UserName.Buffer, 256);
wcstombs(password, IL->Password.Buffer, 256);
+ /* Make sure AD-DOMANS sent from login that is sent to us is striped */
+ ctemp = strchr(uname, '@');
+ if (ctemp) *ctemp = 0;
+
(void) RegOpenKeyEx(HKEY_LOCAL_MACHINE, REG_CLIENT_PARMS_KEY,
0, KEY_QUERY_VALUE, &NPKey);
LSPsize=sizeof(TraceOption);
* mode or the failSilently flag is set, otherwise let the
* user know we failed and give them a chance to try again. */
if (retryInterval <= 0) {
+ reason = "AFS not running";
if (!interactive || failSilently)
break;
flag = MessageBox(hwndOwner,
/* Define VERSIONINFO resource */
#define AFS_VERINFO_FILE_DESCRIPTION "AFS Integrated Logon DLL"
+#define AFS_VERINFO_DLL
+#define AFS_VERINFO_NAME "afslogon"
+#define AFS_VERINFO_FILENAME "afslogon.dll"
#include "AFS_component_version_number.h"
#include "..\..\config\NTVersioninfo.rc"
/* Define VERSIONINFO resource */
#define AFS_VERINFO_FILE_DESCRIPTION "AFS Submount Command"
+#define AFS_VERINFO_NAME "afsshare"
+#define AFS_VERINFO_FILENAME "afsshare.exe"
#include "AFS_component_version_number.h"
#include "..\..\config\NTVersioninfo.rc"
#define CM_ERROR_BADNTFILENAME (CM_ERROR_BASE+37)
#define CM_ERROR_BUFFERTOOSMALL (CM_ERROR_BASE+38)
#define CM_ERROR_RENAME_IDENTICAL (CM_ERROR_BASE+39)
+#define CM_ERROR_ALLOFFLINE (CM_ERROR_BASE+40)
#endif /* __CM_H_ENV__ */
if (reqp->flags & CM_REQ_NORETRY)
goto out;
+ /* if all servers are offline, mark them non-busy and start over */
+ if (errorCode == CM_ERROR_ALLOFFLINE) {
+ osi_Log0(afsd_logp, "cm_Analyze passed CM_ERROR_ALLOFFLINE.");
+ thrd_Sleep(5000);
+ /* cm_ForceUpdateVolume marks all servers as non_busy */
+ cm_ForceUpdateVolume(fidp, userp, reqp);
+ retry = 1;
+ }
+
/* if all servers are busy, mark them non-busy and start over */
if (errorCode == CM_ERROR_ALLBUSY) {
cm_GetServerList(fidp, userp, reqp, &serversp);
long oldSum, newSum;
int same;
- /* Back off to allow move to complete */
- thrd_Sleep(2000);
+ /* Log server being offline for this volume */
+ osi_Log4(afsd_logp, "cm_Analyze found server %d.%d.%d.%d
+marked offline for a volume",
+ ((serverp->addr.sin_addr.s_addr & 0xff)),
+ ((serverp->addr.sin_addr.s_addr & 0xff00)>> 8),
+ ((serverp->addr.sin_addr.s_addr & 0xff0000)>> 16),
+ ((serverp->addr.sin_addr.s_addr & 0xff000000)>> 24));
+ /* Create Event Log message */
+ {
+ HANDLE h;
+ char *ptbuf[1];
+ char s[100];
+ h = RegisterEventSource(NULL, AFS_DAEMON_EVENT_NAME);
+ sprintf(s, "cm_Analyze: Server %d.%d.%d.%d reported volume %d as missing.",
+ ((serverp->addr.sin_addr.s_addr & 0xff)),
+ ((serverp->addr.sin_addr.s_addr & 0xff00)>> 8),
+ ((serverp->addr.sin_addr.s_addr & 0xff0000)>> 16),
+ ((serverp->addr.sin_addr.s_addr & 0xff000000)>> 24),
+ fidp->volume);
+ ptbuf[0] = s;
+ ReportEvent(h, EVENTLOG_WARNING_TYPE, 0, 1009, NULL,
+ 1, 0, ptbuf, NULL);
+ DeregisterEventSource(h);
+ }
- /* Update the volume location and see if it changed */
- cm_GetServerList(fidp, userp, reqp, &serversp);
- oldSum = cm_ChecksumServerList(serversp);
- cm_ForceUpdateVolume(fidp, userp, reqp);
+ /* Mark server offline for this volume */
cm_GetServerList(fidp, userp, reqp, &serversp);
- newSum = cm_ChecksumServerList(serversp);
- same = (oldSum == newSum);
- /* mark servers as appropriate */
for (tsrp = serversp; tsrp; tsrp=tsrp->next) {
if (tsrp->server == serverp)
tsrp->status = offline;
- else if (!same)
- tsrp->status = not_busy;
}
retry = 1;
}
lock_ReleaseWrite(&cm_serverLock);
if (firstError == 0) {
if (someBusy) firstError = CM_ERROR_ALLBUSY;
- else if (someOffline) firstError = CM_ERROR_NOSUCHVOLUME;
- else firstError = CM_ERROR_TIMEDOUT;
+ else if (someOffline) firstError = CM_ERROR_ALLOFFLINE;
+ else if (serversp) firstError = CM_ERROR_TIMEDOUT;
+ /* Only return CM_ERROR_NOSUCHVOLUME if there are no
+ servers for this volume */
+ else firstError = CM_ERROR_NOSUCHVOLUME;
}
osi_Log1(afsd_logp, "cm_ConnByMServers returning %x", firstError);
return firstError;
/* Define VERSIONINFO resource */
#define AFS_VERINFO_FILE_DESCRIPTION "AFS File Server Command"
+#define AFS_VERINFO_NAME "fs"
+#define AFS_VERINFO_FILENAME "fs.exe"
#include "AFS_component_version_number.h"
#include "..\..\config\NTVersioninfo.rc"
/* Define VERSIONINFO resource */
#define AFS_VERINFO_FILE_DESCRIPTION "AFS Logon Command"
+#define AFS_VERINFO_NAME "klog"
+#define AFS_VERINFO_FILENAME "klog.exe"
#include "AFS_component_version_number.h"
#include "..\..\config\NTVersioninfo.rc"
/* Define VERSIONINFO resource */
#define AFS_VERINFO_FILE_DESCRIPTION "AFS Cell File DLL"
+#define AFS_VERINFO_DLL
+#define AFS_VERINFO_NAME "libafsconf"
+#define AFS_VERINFO_FILENAME "libafsconf.dll"
#include "AFS_component_version_number.h"
#include "..\..\config\NTVersioninfo.rc"
while (1) {
memset(ncbp, 0, sizeof(NCB));
+ flags = 0;
#ifdef DJGPP
/* terminate if shutdown flag is set */
if (smbShutdownFlag == 1)
*((LARGE_INTEGER *)op) = scp->length; op += 8; /* EOF */
*((u_long *)op) = scp->linkCount; op += 4;
*op++ = ((fidp->flags & SMB_FID_DELONCLOSE) ? 1 : 0);
- *op++ = 0;
*op++ = (scp->fileType == CM_SCACHETYPE_DIRECTORY ? 1 : 0);
*op++ = 0;
+ *op++ = 0;
}
else if (infoLevel == 0x103) {
*((u_long *)op) = 0; op += 4;
/* Define VERSIONINFO resource */
#define AFS_VERINFO_FILE_DESCRIPTION "AFS Symbolic Link Command"
+#define AFS_VERINFO_NAME "symlink"
+#define AFS_VERINFO_FILENAME "symlink.exe"
#include "AFS_component_version_number.h"
#include "..\..\config\NTVersioninfo.rc"
/* Define VERSIONINFO resource */
#define AFS_VERINFO_FILE_DESCRIPTION "AFS Tokens Command"
+#define AFS_VERINFO_NAME "tokens"
+#define AFS_VERINFO_FILENAME "tokens.exe"
#include "AFS_component_version_number.h"
#include "..\..\config\NTVersioninfo.rc"
/* Define VERSIONINFO resource */
#define AFS_VERINFO_FILE_DESCRIPTION "AFS Unlog Command"
+#define AFS_VERINFO_NAME "unlog"
+#define AFS_VERINFO_FILENAME "unlog.exe"
#include "AFS_component_version_number.h"
#include "..\..\config\NTVersioninfo.rc"
#ifndef APSTUDIO_INVOKED
#define AFS_VERINFO_FILE_DESCRIPTION "AFS Server Startup Message"
+#define AFS_VERINFO_NAME "afslegal_stub"
+#define AFS_VERINFO_FILENAME "afslegal_stub.exe"
#include "AFS_component_version_number.h"
#include "..\..\config\NTVersioninfo.rc"
#endif // APSTUDIO_INVOKED
#include <windows.h>
#ifndef APSTUDIO_INVOKED
#define AFS_VERINFO_FILE_DESCRIPTION "AFS Server Startup Message"
+#define AFS_VERINFO_NAME "afslegal"
+#define AFS_VERINFO_FILENAME "afslegal.exe"
+#define AFS_VERINFO_LANG_CODE 0x407
+#define AFS_VERINFO_CHARSET 1252
#include "AFS_component_version_number.h"
#include "..\..\config\NTVersioninfo.rc"
#endif // APSTUDIO_INVOKED
#include <windows.h>
#ifndef APSTUDIO_INVOKED
#define AFS_VERINFO_FILE_DESCRIPTION "AFS Server Startup Message"
+#define AFS_VERINFO_NAME "afslegal"
+#define AFS_VERINFO_FILENAME "afslegal.exe"
+#define AFS_VERINFO_LANG_CODE 0x409
+#define AFS_VERINFO_CHARSET 1252
#include "AFS_component_version_number.h"
#include "..\..\config\NTVersioninfo.rc"
#endif // APSTUDIO_INVOKED
#include <windows.h>
#ifndef APSTUDIO_INVOKED
#define AFS_VERINFO_FILE_DESCRIPTION "Mensaje de inicio de AFS Server"
+#define AFS_VERINFO_NAME "afslegal"
+#define AFS_VERINFO_FILENAME "afslegal.exe"
+#define AFS_VERINFO_LANG_CODE 0x40a
+#define AFS_VERINFO_CHARSET 1252
#include "AFS_component_version_number.h"
#include "..\..\config\NTVersioninfo.rc"
#endif // APSTUDIO_INVOKED
#include <windows.h>\r
#ifndef APSTUDIO_INVOKED\r
#define AFS_VERINFO_FILE_DESCRIPTION "AFS \83T\81[\83o\81[\8en\93®\83\81\83b\83Z\81[\83W"\r
+#define AFS_VERINFO_NAME "afslegal"
+#define AFS_VERINFO_FILENAME "afslegal.exe"
+#define AFS_VERINFO_LANG_CODE 0x411
+#define AFS_VERINFO_CHARSET 932
#include "AFS_component_version_number.h"\r
#include "..\..\config\NTVersioninfo.rc"\r
#endif // APSTUDIO_INVOKED\r
#include <windows.h>\r
#ifndef APSTUDIO_INVOKED\r
#define AFS_VERINFO_FILE_DESCRIPTION "AFS ¼¹ö ½Ãµ¿ ¸Þ½ÃÁö"\r
+#define AFS_VERINFO_NAME "afslegal"
+#define AFS_VERINFO_FILENAME "afslegal.exe"
+#define AFS_VERINFO_LANG_CODE 0x412
+#define AFS_VERINFO_CHARSET 949
#include "AFS_component_version_number.h"\r
#include "..\..\config\NTVersioninfo.rc"\r
#endif // APSTUDIO_INVOKED\r
#include <windows.h>
#ifndef APSTUDIO_INVOKED
#define AFS_VERINFO_FILE_DESCRIPTION "Mensagem de Inicialização de AFS Server"
+#define AFS_VERINFO_NAME "afslegal"
+#define AFS_VERINFO_FILENAME "afslegal.exe"
+#define AFS_VERINFO_LANG_CODE 0x416
+#define AFS_VERINFO_CHARSET 1252
#include "AFS_component_version_number.h"
#include "..\..\config\NTVersioninfo.rc"
#endif // APSTUDIO_INVOKED
#include <windows.h>
#ifndef APSTUDIO_INVOKED
#define AFS_VERINFO_FILE_DESCRIPTION "AFS ·þÎñÆ÷Æô¶¯ÏûÏ¢"
+#define AFS_VERINFO_NAME "afslegal"
+#define AFS_VERINFO_FILENAME "afslegal.exe"
+#define AFS_VERINFO_LANG_CODE 0x804
+#define AFS_VERINFO_CHARSET 936
#include "AFS_component_version_number.h"
#include "..\..\config\NTVersioninfo.rc"
#endif // APSTUDIO_INVOKED
#include <windows.h>
#ifndef APSTUDIO_INVOKED
#define AFS_VERINFO_FILE_DESCRIPTION "AFS Server Startup Message"
+#define AFS_VERINFO_NAME "afslegal"
+#define AFS_VERINFO_FILENAME "afslegal.exe"
+#define AFS_VERINFO_LANG_CODE 0x404
+#define AFS_VERINFO_CHARSET 950
#include "AFS_component_version_number.h"
#include "..\..\config\NTVersioninfo.rc"
#endif // APSTUDIO_INVOKED
#include "resource.h"
#define AFS_VERINFO_FILE_DESCRIPTION "AFS Server Configuration"
+#define AFS_VERINFO_NAME "afscfg"
+#define AFS_VERINFO_FILENAME "afscfg.exe"
#include "AFS_component_version_number.h"
#include "..\..\config\NTVersioninfo.rc"
#include "afxres.h"\r
#include <windows.h>\r
#define AFS_VERINFO_FILE_DESCRIPTION "AFS® Configuration-Anwendung und -Assistent"\r
+#define AFS_VERINFO_NAME "afscfg"
+#define AFS_VERINFO_FILENAME "afscfg.exe"
+#define AFS_VERINFO_LANG_CODE 0x407
+#define AFS_VERINFO_CHARSET 1252
#include "AFS_component_version_number.h"\r
#include "..\..\config\NTVersioninfo.rc"\r
\r
#include "afxres.h"
#include <windows.h>
#define AFS_VERINFO_FILE_DESCRIPTION "AFS Server Configuration"
+#define AFS_VERINFO_NAME "afscfg"
+#define AFS_VERINFO_FILENAME "afscfg.exe"
+#define AFS_VERINFO_LANG_CODE 0x409
+#define AFS_VERINFO_CHARSET 1252
#include "AFS_component_version_number.h"
#include "..\..\config\NTVersioninfo.rc"
#include "afxres.h"\r
#include <windows.h>\r
#define AFS_VERINFO_FILE_DESCRIPTION "AFS® Configuration application and wizard"\r
+#define AFS_VERINFO_NAME "afscfg"
+#define AFS_VERINFO_FILENAME "afscfg.exe"
+#define AFS_VERINFO_LANG_CODE 0x40a
+#define AFS_VERINFO_CHARSET 1252
#include "AFS_component_version_number.h"\r
#include "..\..\config\NTVersioninfo.rc"\r
\r
#include "afxres.h"\r
#include <windows.h>\r
#define AFS_VERINFO_FILE_DESCRIPTION "AFS(R) \8d\\90¬\83A\83v\83\8a\83P\81[\83V\83\87\83\93\82¨\82æ\82Ñ\83E\83B\83U\81[\83h"\r
+#define AFS_VERINFO_NAME "afscfg"
+#define AFS_VERINFO_FILENAME "afscfg.exe"
+#define AFS_VERINFO_LANG_CODE 0x411
+#define AFS_VERINFO_CHARSET 932
#include "AFS_component_version_number.h"\r
#include "..\..\config\NTVersioninfo.rc"\r
\r
#include "afxres.h"\r
#include <windows.h>\r
#define AFS_VERINFO_FILE_DESCRIPTION "AFS ±¸¼º ÀÀ¿ëÇÁ·Î±×·¥ ¹× ¸¶¹ý»ç"\r
+#define AFS_VERINFO_NAME "afscfg"
+#define AFS_VERINFO_FILENAME "afscfg.exe"
+#define AFS_VERINFO_LANG_CODE 0x412
+#define AFS_VERINFO_CHARSET 949
#include "AFS_component_version_number.h"\r
#include "..\..\config\NTVersioninfo.rc"\r
\r
#include "afxres.h"\r
#include <windows.h>\r
#define AFS_VERINFO_FILE_DESCRIPTION "Aplicação e assistente de Configuração do AFS®"\r
+#define AFS_VERINFO_NAME "afscfg"
+#define AFS_VERINFO_FILENAME "afscfg.exe"
+#define AFS_VERINFO_LANG_CODE 0x416
+#define AFS_VERINFO_CHARSET 1252
#include "AFS_component_version_number.h"\r
#include "..\..\config\NTVersioninfo.rc"\r
\r
#include "afxres.h"\r
#include <windows.h>\r
#define AFS_VERINFO_FILE_DESCRIPTION "AFS ÅäÖÃÓ¦ÓóÌÐòºÍÏòµ¼"\r
+#define AFS_VERINFO_NAME "afscfg"
+#define AFS_VERINFO_FILENAME "afscfg.exe"
+#define AFS_VERINFO_LANG_CODE 0x804
+#define AFS_VERINFO_CHARSET 936
#include "AFS_component_version_number.h"\r
#include "..\..\config\NTVersioninfo.rc"\r
\r
#include "afxres.h"\r
#include <windows.h>\r
#define AFS_VERINFO_FILE_DESCRIPTION "AFS Configuration application and wizard"\r
+#define AFS_VERINFO_NAME "afscfg"
+#define AFS_VERINFO_FILENAME "afscfg.exe"
+#define AFS_VERINFO_LANG_CODE 0x404
+#define AFS_VERINFO_CHARSET 950
#include "AFS_component_version_number.h"\r
#include "..\..\config\NTVersioninfo.rc"\r
\r
#include "resource.h"
#define AFS_VERINFO_FILE_DESCRIPTION "AFS Server Configuration application"
+#define AFS_VERINFO_NAME "afssvrcpa"
+#define AFS_VERINFO_FILENAME "afssvrcpa.exe"
#include "AFS_component_version_number.h"
#include "..\..\config\NTVersioninfo.rc"
//
#include <windows.h>
#define AFS_VERINFO_FILE_DESCRIPTION "Die Anwendung AFS Server Configuration"
+#define AFS_VERINFO_NAME "afssvrcpa"
+#define AFS_VERINFO_FILENAME "afssvrcpa.exe"
+#define AFS_VERINFO_LANG_CODE 0x407
+#define AFS_VERINFO_CHARSET 1252
#include "AFS_component_version_number.h"
#include "..\..\config\NTVersioninfo.rc"
//
#include <windows.h>
#define AFS_VERINFO_FILE_DESCRIPTION "AFS Server Configuration application"
+#define AFS_VERINFO_NAME "afssvrcpa"
+#define AFS_VERINFO_FILENAME "afssvrcpa.exe"
+#define AFS_VERINFO_LANG_CODE 0x409
+#define AFS_VERINFO_CHARSET 1252
#include "AFS_component_version_number.h"
#include "..\..\config\NTVersioninfo.rc"
//
#include <windows.h>
#define AFS_VERINFO_FILE_DESCRIPTION "Aplicación de Configuración de AFS Server"
+#define AFS_VERINFO_NAME "afssvrcpa"
+#define AFS_VERINFO_FILENAME "afssvrcpa.exe"
+#define AFS_VERINFO_LANG_CODE 0x40a
+#define AFS_VERINFO_CHARSET 1252
#include "AFS_component_version_number.h"
#include "..\..\config\NTVersioninfo.rc"
//\r
#include <windows.h>\r
#define AFS_VERINFO_FILE_DESCRIPTION "AFS \83T\81[\83o\81[\8d\\90¬\83A\83v\83\8a\83P\81[\83V\83\87\83\93"\r
+#define AFS_VERINFO_NAME "afssvrcpa"
+#define AFS_VERINFO_FILENAME "afssvrcpa.exe"
+#define AFS_VERINFO_LANG_CODE 0x411
+#define AFS_VERINFO_CHARSET 932
#include "AFS_component_version_number.h"\r
#include "..\..\config\NTVersioninfo.rc"\r
\r
//
#include <windows.h>
#define AFS_VERINFO_FILE_DESCRIPTION "AFS ¼¹ö ±¸¼º ÀÀ¿ëÇÁ·Î±×·¥"
+#define AFS_VERINFO_NAME "afssvrcpa"
+#define AFS_VERINFO_FILENAME "afssvrcpa.exe"
+#define AFS_VERINFO_LANG_CODE 0x412
+#define AFS_VERINFO_CHARSET 949
#include "AFS_component_version_number.h"
#include "..\..\config\NTVersioninfo.rc"
//\r
#include <windows.h>\r
#define AFS_VERINFO_FILE_DESCRIPTION "AFS Server Configuration application"\r
+#define AFS_VERINFO_NAME "afssvrcpa"
+#define AFS_VERINFO_FILENAME "afssvrcpa.exe"
+#define AFS_VERINFO_LANG_CODE 0x416
+#define AFS_VERINFO_CHARSET 1252
#include "AFS_component_version_number.h"\r
#include "..\..\config\NTVersioninfo.rc"\r
\r
//
#include <windows.h>
#define AFS_VERINFO_FILE_DESCRIPTION "AFS ·þÎñÆ÷ÅäÖÃÓ¦ÓóÌÐò"
+#define AFS_VERINFO_NAME "afssvrcpa"
+#define AFS_VERINFO_FILENAME "afssvrcpa.exe"
+#define AFS_VERINFO_LANG_CODE 0x804
+#define AFS_VERINFO_CHARSET 936
#include "AFS_component_version_number.h"
#include "..\..\config\NTVersioninfo.rc"
//
#include <windows.h>
#define AFS_VERINFO_FILE_DESCRIPTION "AFS Server Configuration application"
+#define AFS_VERINFO_NAME "afssvrcpa"
+#define AFS_VERINFO_FILENAME "afssvrcpa.exe"
+#define AFS_VERINFO_LANG_CODE 0x404
+#define AFS_VERINFO_CHARSET 950
#include "AFS_component_version_number.h"
#include "..\..\config\NTVersioninfo.rc"
#include <WINNT\al_resource.h>\r
#ifndef APSTUDIO_INVOKED\r
#define AFS_VERINFO_FILE_DESCRIPTION "AFS Server Manager"\r
+#define AFS_VERINFO_NAME "svrmgr"
+#define AFS_VERINFO_FILENAME "svrmgr.exe"
+#define AFS_VERINFO_LANG_CODE 0x407
+#define AFS_VERINFO_CHARSET 1252
#include "AFS_component_version_number.h"\r
#include "..\..\config\NTVersioninfo.rc"\r
#endif // APSTUDIO_INVOKED\r
#include <WINNT\al_resource.h>
#ifndef APSTUDIO_INVOKED
#define AFS_VERINFO_FILE_DESCRIPTION "AFS Server Manager"
+#define AFS_VERINFO_NAME "svrmgr"
+#define AFS_VERINFO_FILENAME "svrmgr.exe"
+#define AFS_VERINFO_LANG_CODE 0x409
+#define AFS_VERINFO_CHARSET 1252
#include "AFS_component_version_number.h"
#include "..\..\config\NTVersioninfo.rc"
#endif // APSTUDIO_INVOKED
#include <WINNT\al_resource.h>\r
#ifndef APSTUDIO_INVOKED\r
#define AFS_VERINFO_FILE_DESCRIPTION "AFS Server Manager"\r
+#define AFS_VERINFO_NAME "svrmgr"
+#define AFS_VERINFO_FILENAME "svrmgr.exe"
+#define AFS_VERINFO_LANG_CODE 0x40a
+#define AFS_VERINFO_CHARSET 1252
#include "AFS_component_version_number.h"\r
#include "..\..\config\NTVersioninfo.rc"\r
#endif // APSTUDIO_INVOKED\r
#include <WINNT\al_resource.h>\r
#ifndef APSTUDIO_INVOKED\r
#define AFS_VERINFO_FILE_DESCRIPTION "AFS \83T\81[\83o\81[\81E\83}\83l\81[\83W\83\83\81["\r
+#define AFS_VERINFO_NAME "svrmgr"
+#define AFS_VERINFO_FILENAME "svrmgr.exe"
+#define AFS_VERINFO_LANG_CODE 0x411
+#define AFS_VERINFO_CHARSET 932
#include "AFS_component_version_number.h"\r
#include "..\..\config\NTVersioninfo.rc"\r
#endif // APSTUDIO_INVOKED\r
#include <WINNT\al_resource.h>\r
#ifndef APSTUDIO_INVOKED\r
#define AFS_VERINFO_FILE_DESCRIPTION "AFS ¼¹ö °ü¸® ÇÁ·Î±×·¥"\r
+#define AFS_VERINFO_NAME "svrmgr"
+#define AFS_VERINFO_FILENAME "svrmgr.exe"
+#define AFS_VERINFO_LANG_CODE 0x412
+#define AFS_VERINFO_CHARSET 949
#include "AFS_component_version_number.h"\r
#include "..\..\config\NTVersioninfo.rc"\r
#endif // APSTUDIO_INVOKED\r
#include <WINNT\al_resource.h>\r
#ifndef APSTUDIO_INVOKED\r
#define AFS_VERINFO_FILE_DESCRIPTION "Gerenciador de Servidor do AFS"\r
+#define AFS_VERINFO_NAME "svrmgr"
+#define AFS_VERINFO_FILENAME "svrmgr.exe"
+#define AFS_VERINFO_LANG_CODE 0x416
+#define AFS_VERINFO_CHARSET 1252
#include "AFS_component_version_number.h"\r
#include "..\..\config\NTVersioninfo.rc"\r
#endif // APSTUDIO_INVOKED\r
#include <WINNT\al_resource.h>\r
#ifndef APSTUDIO_INVOKED\r
#define AFS_VERINFO_FILE_DESCRIPTION "AFS ·þÎñÆ÷¹ÜÀíÆ÷"\r
+#define AFS_VERINFO_NAME "svrmgr"
+#define AFS_VERINFO_FILENAME "svrmgr.exe"
+#define AFS_VERINFO_LANG_CODE 0x804
+#define AFS_VERINFO_CHARSET 936
#include "AFS_component_version_number.h"\r
#include "..\..\config\NTVersioninfo.rc"\r
#endif // APSTUDIO_INVOKED\r
#include <WINNT\al_resource.h>\r
#ifndef APSTUDIO_INVOKED\r
#define AFS_VERINFO_FILE_DESCRIPTION "AFS Server Manager"\r
+#define AFS_VERINFO_NAME "svrmgr"
+#define AFS_VERINFO_FILENAME "svrmgr.exe"
+#define AFS_VERINFO_LANG_CODE 0x404
+#define AFS_VERINFO_CHARSET 950
#include "AFS_component_version_number.h"\r
#include "..\..\config\NTVersioninfo.rc"\r
#endif // APSTUDIO_INVOKED\r
#ifndef APSTUDIO_INVOKED
#define AFS_VERINFO_FILE_DESCRIPTION "AFS Server Manager"
+#define AFS_VERINFO_NAME "svrmgr"
+#define AFS_VERINFO_FILENAME "svrmgr.exe"
#include "AFS_component_version_number.h"
#include "..\..\config\NTVersioninfo.rc"
#endif // APSTUDIO_INVOKED
#ifndef APSTUDIO_INVOKED
#define AFS_VERINFO_FILE_DESCRIPTION "AFS Account Manager"
+#define AFS_VERINFO_NAME "AfsUsrMgr"
+#define AFS_VERINFO_FILENAME "AfsUsrMgr.exe"
#include "AFS_component_version_number.h"
#include "..\..\config\NTVersioninfo.rc"
#endif // APSTUDIO_INVOKED
#include <WINNT\al_resource.h>\r
#ifndef APSTUDIO_INVOKED\r
#define AFS_VERINFO_FILE_DESCRIPTION "AFS Account Manager"\r
+#define AFS_VERINFO_NAME "AfsUsrMgr"
+#define AFS_VERINFO_FILENAME "AfsUsrMgr.exe"
+#define AFS_VERINFO_LANG_CODE 0x407
+#define AFS_VERINFO_CHARSET 1252
#include "AFS_component_version_number.h"\r
#include "..\..\config\NTVersioninfo.rc"\r
#endif // APSTUDIO_INVOKED\r
#include <WINNT\al_resource.h>
#ifndef APSTUDIO_INVOKED
#define AFS_VERINFO_FILE_DESCRIPTION "AFS Account Manager"
+#define AFS_VERINFO_NAME "AfsUsrMgr"
+#define AFS_VERINFO_FILENAME "AfsUsrMgr.exe"
+#define AFS_VERINFO_LANG_CODE 0x409
+#define AFS_VERINFO_CHARSET 1252
#include "AFS_component_version_number.h"
#include "..\..\config\NTVersioninfo.rc"
#endif // APSTUDIO_INVOKED
#include <WINNT\al_resource.h>\r
#ifndef APSTUDIO_INVOKED\r
#define AFS_VERINFO_FILE_DESCRIPTION "AFS Account Manager"\r
+#define AFS_VERINFO_NAME "AfsUsrMgr"
+#define AFS_VERINFO_FILENAME "AfsUsrMgr.exe"
+#define AFS_VERINFO_LANG_CODE 0x40a
+#define AFS_VERINFO_CHARSET 1252
#include "AFS_component_version_number.h"\r
#include "..\..\config\NTVersioninfo.rc"\r
#endif // APSTUDIO_INVOKED\r
#include <WINNT\al_resource.h>\r
#ifndef APSTUDIO_INVOKED\r
#define AFS_VERINFO_FILE_DESCRIPTION "AFS \83A\83J\83E\83\93\83g\81E\83}\83l\81[\83W\83\83\81["\r
+#define AFS_VERINFO_NAME "AfsUsrMgr"
+#define AFS_VERINFO_FILENAME "AfsUsrMgr.exe"
+#define AFS_VERINFO_LANG_CODE 0x411
+#define AFS_VERINFO_CHARSET 932
#include "AFS_component_version_number.h"\r
#include "..\..\config\NTVersioninfo.rc"\r
#endif // APSTUDIO_INVOKED\r
#include <WINNT\al_resource.h>\r
#ifndef APSTUDIO_INVOKED\r
#define AFS_VERINFO_FILE_DESCRIPTION "AFS °èÁ¤ °ü¸® ÇÁ·Î±×·¥"\r
+#define AFS_VERINFO_NAME "AfsUsrMgr"
+#define AFS_VERINFO_FILENAME "AfsUsrMgr.exe"
+#define AFS_VERINFO_LANG_CODE 0x412
+#define AFS_VERINFO_CHARSET 949
#include "AFS_component_version_number.h"\r
#include "..\..\config\NTVersioninfo.rc"\r
#endif // APSTUDIO_INVOKED\r
#include <WINNT\al_resource.h>\r
#ifndef APSTUDIO_INVOKED\r
#define AFS_VERINFO_FILE_DESCRIPTION "Gerenciador de Contas do AFS"\r
+#define AFS_VERINFO_NAME "AfsUsrMgr"
+#define AFS_VERINFO_FILENAME "AfsUsrMgr.exe"
+#define AFS_VERINFO_LANG_CODE 0x416
+#define AFS_VERINFO_CHARSET 1252
#include "AFS_component_version_number.h"\r
#include "..\..\config\NTVersioninfo.rc"\r
#endif // APSTUDIO_INVOKED\r
#include <WINNT\al_resource.h>\r
#ifndef APSTUDIO_INVOKED\r
#define AFS_VERINFO_FILE_DESCRIPTION "AFS ÕÊ»§¹ÜÀíÆ÷"\r
+#define AFS_VERINFO_NAME "AfsUsrMgr"
+#define AFS_VERINFO_FILENAME "AfsUsrMgr.exe"
+#define AFS_VERINFO_LANG_CODE 0x804
+#define AFS_VERINFO_CHARSET 936
#include "AFS_component_version_number.h"\r
#include "..\..\config\NTVersioninfo.rc"\r
#endif // APSTUDIO_INVOKED\r
#include <WINNT\al_resource.h>\r
#ifndef APSTUDIO_INVOKED\r
#define AFS_VERINFO_FILE_DESCRIPTION "AFS Account Manager"\r
+#define AFS_VERINFO_NAME "AfsUsrMgr"
+#define AFS_VERINFO_FILENAME "AfsUsrMgr.exe"
+#define AFS_VERINFO_LANG_CODE 0x404
+#define AFS_VERINFO_CHARSET 950
#include "AFS_component_version_number.h"\r
#include "..\..\config\NTVersioninfo.rc"\r
#endif // APSTUDIO_INVOKED\r
/* Define VERSIONINFO resource */
#define AFS_VERINFO_FILE_DESCRIPTION "AFS BOS Control Service"
+#define AFS_VERINFO_NAME "bosctlsvc"
+#define AFS_VERINFO_FILENAME "bosctlsvc.exe"
#include "AFS_component_version_number.h"
#include "..\..\config\NTVersioninfo.rc"
#include "resource.h"
#define AFS_VERINFO_FILE_DESCRIPTION "AFS Client Configuration"
+#define AFS_VERINFO_NAME "afs_config"
+#define AFS_VERINFO_FILENAME "afs_config.exe"
#include "AFS_component_version_number.h"
#include "..\..\config\NTVersioninfo.rc"
#include <windows.h>\r
#ifndef APSTUDIO_INVOKED\r
#define AFS_VERINFO_FILE_DESCRIPTION "Konfiguration des AFS Clients"\r
+#define AFS_VERINFO_NAME "afs_config"
+#define AFS_VERINFO_FILENAME "afs_config.exe"
+#define AFS_VERINFO_LANG_CODE 0x407
+#define AFS_VERINFO_CHARSET 1252
#include "AFS_component_version_number.h"\r
#include "..\..\config\NTVersioninfo.rc"\r
#endif // APSTUDIO_INVOKED\r
#include <windows.h>
#ifndef APSTUDIO_INVOKED
#define AFS_VERINFO_FILE_DESCRIPTION "AFS Client Configuration"
+#define AFS_VERINFO_NAME "afs_config"
+#define AFS_VERINFO_FILENAME "afs_config.exe"
+#define AFS_VERINFO_LANG_CODE 0x409
+#define AFS_VERINFO_CHARSET 1252
#include "AFS_component_version_number.h"
#include "..\..\config\NTVersioninfo.rc"
#endif // APSTUDIO_INVOKED
#include <windows.h>\r
#ifndef APSTUDIO_INVOKED\r
#define AFS_VERINFO_FILE_DESCRIPTION "AFS Client Configuration"\r
+#define AFS_VERINFO_NAME "afs_config"
+#define AFS_VERINFO_FILENAME "afs_config.exe"
+#define AFS_VERINFO_LANG_CODE 0x40a
+#define AFS_VERINFO_CHARSET 1252
#include "AFS_component_version_number.h"\r
#include "..\..\config\NTVersioninfo.rc"\r
#endif // APSTUDIO_INVOKED\r
#include <windows.h>\r
#ifndef APSTUDIO_INVOKED\r
#define AFS_VERINFO_FILE_DESCRIPTION "AFS \83N\83\89\83C\83A\83\93\83g\8d\\90¬"\r
+#define AFS_VERINFO_NAME "afs_config"
+#define AFS_VERINFO_FILENAME "afs_config.exe"
+#define AFS_VERINFO_LANG_CODE 0x411
+#define AFS_VERINFO_CHARSET 932
#include "AFS_component_version_number.h"\r
#include "..\..\config\NTVersioninfo.rc"\r
#endif // APSTUDIO_INVOKED\r
#include <windows.h>\r
#ifndef APSTUDIO_INVOKED\r
#define AFS_VERINFO_FILE_DESCRIPTION "AFS Ŭ¶óÀÌ¾ðÆ® ±¸¼º"\r
+#define AFS_VERINFO_NAME "afs_config"
+#define AFS_VERINFO_FILENAME "afs_config.exe"
+#define AFS_VERINFO_LANG_CODE 0x412
+#define AFS_VERINFO_CHARSET 949
#include "AFS_component_version_number.h"\r
#include "..\..\config\NTVersioninfo.rc"\r
#endif // APSTUDIO_INVOKED\r
#include <windows.h>\r
#ifndef APSTUDIO_INVOKED\r
#define AFS_VERINFO_FILE_DESCRIPTION "Configuração do AFS Client"\r
+#define AFS_VERINFO_NAME "afs_config"
+#define AFS_VERINFO_FILENAME "afs_config.exe"
+#define AFS_VERINFO_LANG_CODE 0x416
+#define AFS_VERINFO_CHARSET 1252
#include "AFS_component_version_number.h"\r
#include "..\..\config\NTVersioninfo.rc"\r
#endif // APSTUDIO_INVOKED\r
#include <windows.h>\r
#ifndef APSTUDIO_INVOKED\r
#define AFS_VERINFO_FILE_DESCRIPTION "AFS ¿Í»§»úÅäÖÃ"\r
+#define AFS_VERINFO_NAME "afs_config"
+#define AFS_VERINFO_FILENAME "afs_config.exe"
+#define AFS_VERINFO_LANG_CODE 0x804
+#define AFS_VERINFO_CHARSET 936
#include "AFS_component_version_number.h"\r
#include "..\..\config\NTVersioninfo.rc"\r
#endif // APSTUDIO_INVOKED\r
#include <windows.h>\r
#ifndef APSTUDIO_INVOKED\r
#define AFS_VERINFO_FILE_DESCRIPTION "AFS Client Configuration"\r
+#define AFS_VERINFO_NAME "afs_config"
+#define AFS_VERINFO_FILENAME "afs_config.exe"
+#define AFS_VERINFO_LANG_CODE 0x404
+#define AFS_VERINFO_CHARSET 950
#include "AFS_component_version_number.h"\r
#include "..\..\config\NTVersioninfo.rc"\r
#endif // APSTUDIO_INVOKED\r
#include "resource.h"
#define AFS_VERINFO_FILE_DESCRIPTION "AFS Client Control Panel Icon"
+#define AFS_VERINFO_NAME "afs_cpa"
+#define AFS_VERINFO_FILENAME "afs_cpa.exe"
#include "AFS_component_version_number.h"
#include "..\..\config\NTVersioninfo.rc"
#ifdef _WIN32
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
#endif //_WIN32
+#ifndef _MAC
+/////////////////////////////////////////////////////////////////////////////
+//
+// Version
+//
+
+#define AFS_VERINFO_FILE_DESCRIPTION "AFS Control Panel Applet"
+#define AFS_VERINFO_NAME "afs_cpa"
+#define AFS_VERINFO_FILENAME "afs_cpa.exe"
+#define AFS_VERINFO_LANG_CODE 0x407
+#define AFS_VERINFO_CHARSET 1252
+#include "AFS_component_version_number.h"
+#include "..\..\config\NTVersioninfo.rc"
+#endif // !_MAC
/////////////////////////////////////////////////////////////////////////////
//
// Icon
#pragma code_page(1252)
#endif //_WIN32
+#ifndef _MAC
+/////////////////////////////////////////////////////////////////////////////
+//
+// Version
+//
+
+#define AFS_VERINFO_FILE_DESCRIPTION "AFS Control Panel Applet"
+#define AFS_VERINFO_NAME "afs_cpa"
+#define AFS_VERINFO_FILENAME "afs_cpa.exe"
+#define AFS_VERINFO_LANG_CODE 0x409
+#define AFS_VERINFO_CHARSET 1252
+#include "AFS_component_version_number.h"
+#include "..\..\config\NTVersioninfo.rc"
+
+#endif // !_MAC
/////////////////////////////////////////////////////////////////////////////
//
// Icon
#ifdef _WIN32
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
#endif //_WIN32
+#ifndef _MAC
+/////////////////////////////////////////////////////////////////////////////
+//
+// Version
+//
+
+#define AFS_VERINFO_FILE_DESCRIPTION "AFS Control Panel Applet"
+#define AFS_VERINFO_NAME "afs_cpa"
+#define AFS_VERINFO_FILENAME "afs_cpa.exe"
+#define AFS_VERINFO_LANG_CODE 0x40a
+#define AFS_VERINFO_CHARSET 1252
+#include "AFS_component_version_number.h"
+#include "..\..\config\NTVersioninfo.rc"
+#endif // !_MAC
/////////////////////////////////////////////////////////////////////////////
//
// Icon
#ifdef _WIN32\r
LANGUAGE LANG_JAPANESE, SUBLANG_DEFAULT\r
#endif //_WIN32\r
+#ifndef _MAC
+/////////////////////////////////////////////////////////////////////////////
+//
+// Version
+//
+
+#define AFS_VERINFO_FILE_DESCRIPTION "AFS Control Panel Applet"
+#define AFS_VERINFO_NAME "afs_cpa"
+#define AFS_VERINFO_FILENAME "afs_cpa.exe"
+#define AFS_VERINFO_LANG_CODE 0x411
+#define AFS_VERINFO_CHARSET 932
+#include "AFS_component_version_number.h"
+#include "..\..\config\NTVersioninfo.rc"
+
+#endif // !_MAC
\r
/////////////////////////////////////////////////////////////////////////////\r
//\r
#ifdef _WIN32
LANGUAGE LANG_KOREAN, SUBLANG_DEFAULT
#endif //_WIN32
+#ifndef _MAC
+/////////////////////////////////////////////////////////////////////////////
+//
+// Version
+//
+
+#define AFS_VERINFO_FILE_DESCRIPTION "AFS Control Panel Applet"
+#define AFS_VERINFO_NAME "afs_cpa"
+#define AFS_VERINFO_FILENAME "afs_cpa.exe"
+#define AFS_VERINFO_LANG_CODE 0x412
+#define AFS_VERINFO_CHARSET 949
+#include "AFS_component_version_number.h"
+#include "..\..\config\NTVersioninfo.rc"
+#endif // !_MAC
/////////////////////////////////////////////////////////////////////////////
//
// Icon
#ifdef _WIN32
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
#endif //_WIN32
+#ifndef _MAC
+/////////////////////////////////////////////////////////////////////////////
+//
+// Version
+//
+
+#define AFS_VERINFO_FILE_DESCRIPTION "AFS Control Panel Applet"
+#define AFS_VERINFO_NAME "afs_cpa"
+#define AFS_VERINFO_FILENAME "afs_cpa.exe"
+#define AFS_VERINFO_LANG_CODE 0x416
+#define AFS_VERINFO_CHARSET 1252
+#include "AFS_component_version_number.h"
+#include "..\..\config\NTVersioninfo.rc"
+#endif // !_MAC
/////////////////////////////////////////////////////////////////////////////
//
// Icon
LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED
#endif //_WIN32
+#ifndef _MAC
+/////////////////////////////////////////////////////////////////////////////
+//
+// Version
+//
+
+#define AFS_VERINFO_FILE_DESCRIPTION "AFS Control Panel Applet"
+#define AFS_VERINFO_NAME "afs_cpa"
+#define AFS_VERINFO_FILENAME "afs_cpa.exe"
+#define AFS_VERINFO_LANG_CODE 0x804
+#define AFS_VERINFO_CHARSET 936
+#include "AFS_component_version_number.h"
+#include "..\..\config\NTVersioninfo.rc"
+#endif // !_MAC
/////////////////////////////////////////////////////////////////////////////
//
// Icon
#ifdef _WIN32
LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL
#endif //_WIN32
+#ifndef _MAC
+/////////////////////////////////////////////////////////////////////////////
+//
+// Version
+//
+
+#define AFS_VERINFO_FILE_DESCRIPTION "AFS Control Panel Applet"
+#define AFS_VERINFO_NAME "afs_cpa"
+#define AFS_VERINFO_FILENAME "afs_cpa.exe"
+#define AFS_VERINFO_LANG_CODE 0x404
+#define AFS_VERINFO_CHARSET 950
+#include "AFS_component_version_number.h"
+#include "..\..\config\NTVersioninfo.rc"
+#endif // !_MAC
/////////////////////////////////////////////////////////////////////////////
//
// Icon
#include "resource.h"
#define AFS_VERINFO_FILE_DESCRIPTION "AFS Client"
+#define AFS_VERINFO_NAME "afscreds"
+#define AFS_VERINFO_FILENAME "afscreds.exe"
#include "AFS_component_version_number.h"
#include "..\..\config\NTVersioninfo.rc"
\r
/////////////////////////////////////////////////////////////////////////////\r
//\r
+// Version
+//
+
+#define AFS_VERINFO_FILE_DESCRIPTION "AFS Client"
+
+#define AFS_VERINFO_NAME "afscreds"
+#define AFS_VERINFO_FILENAME "afscreds.exe"
+#define AFS_VERINFO_LANG_CODE 0x407
+#define AFS_VERINFO_CHARSET 1252
+#include "AFS_component_version_number.h"
+#include "..\..\config\NTVersioninfo.rc"
+/////////////////////////////////////////////////////////////////////////////
+//
// Icon\r
//\r
\r
#define AFS_VERINFO_FILE_DESCRIPTION "AFS Client"
+#define AFS_VERINFO_NAME "afscreds"
+#define AFS_VERINFO_FILENAME "afscreds.exe"
+#define AFS_VERINFO_LANG_CODE 0x409
+#define AFS_VERINFO_CHARSET 1252
#include "AFS_component_version_number.h"
#include "..\..\config\NTVersioninfo.rc"
#ifdef _WIN32\r
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US\r
#endif //_WIN32\r
+/////////////////////////////////////////////////////////////////////////////
+//
+// Version
+//
+
+#define AFS_VERINFO_FILE_DESCRIPTION "AFS Client"
+
+#define AFS_VERINFO_NAME "afscreds"
+#define AFS_VERINFO_FILENAME "afscreds.exe"
+#define AFS_VERINFO_LANG_CODE 0x40a
+#define AFS_VERINFO_CHARSET 1252
+#include "AFS_component_version_number.h"
+#include "..\..\config\NTVersioninfo.rc"
\r
/////////////////////////////////////////////////////////////////////////////\r
//\r
\r
/////////////////////////////////////////////////////////////////////////////\r
//\r
+// Version
+//
+
+#define AFS_VERINFO_FILE_DESCRIPTION "AFS Client"
+
+#define AFS_VERINFO_NAME "afscreds"
+#define AFS_VERINFO_FILENAME "afscreds.exe"
+#define AFS_VERINFO_LANG_CODE 0x411
+#define AFS_VERINFO_CHARSET 932
+#include "AFS_component_version_number.h"
+#include "..\..\config\NTVersioninfo.rc"
+/////////////////////////////////////////////////////////////////////////////
+//
// Icon\r
//\r
\r
#ifdef _WIN32\r
LANGUAGE LANG_KOREAN, SUBLANG_DEFAULT\r
#endif //_WIN32\r
+/////////////////////////////////////////////////////////////////////////////
+//
+// Version
+//
+
+#define AFS_VERINFO_FILE_DESCRIPTION "AFS Client"
+
+#define AFS_VERINFO_NAME "afscreds"
+#define AFS_VERINFO_FILENAME "afscreds.exe"
+#define AFS_VERINFO_LANG_CODE 0x412
+#define AFS_VERINFO_CHARSET 949
+#include "AFS_component_version_number.h"
+#include "..\..\config\NTVersioninfo.rc"
\r
/////////////////////////////////////////////////////////////////////////////\r
//\r
#ifdef _WIN32\r
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US\r
#endif //_WIN32\r
+/////////////////////////////////////////////////////////////////////////////
+//
+// Version
+//
+
+#define AFS_VERINFO_FILE_DESCRIPTION "AFS Client"
+
+#define AFS_VERINFO_NAME "afscreds"
+#define AFS_VERINFO_FILENAME "afscreds.exe"
+#define AFS_VERINFO_LANG_CODE 0x416
+#define AFS_VERINFO_CHARSET 1252
+#include "AFS_component_version_number.h"
+#include "..\..\config\NTVersioninfo.rc"
\r
/////////////////////////////////////////////////////////////////////////////\r
//\r
#ifdef _WIN32\r
LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED\r
#endif //_WIN32\r
+/////////////////////////////////////////////////////////////////////////////
+//
+// Version
+//
+
+#define AFS_VERINFO_FILE_DESCRIPTION "AFS Client"
+
+#define AFS_VERINFO_NAME "afscreds"
+#define AFS_VERINFO_FILENAME "afscreds.exe"
+#define AFS_VERINFO_LANG_CODE 0x804
+#define AFS_VERINFO_CHARSET 936
+#include "AFS_component_version_number.h"
+#include "..\..\config\NTVersioninfo.rc"
\r
/////////////////////////////////////////////////////////////////////////////\r
//\r
#ifdef _WIN32\r
LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL\r
#endif //_WIN32\r
+/////////////////////////////////////////////////////////////////////////////
+//
+// Version
+//
+
+#define AFS_VERINFO_FILE_DESCRIPTION "AFS Client"
+
+#define AFS_VERINFO_NAME "afscreds"
+#define AFS_VERINFO_FILENAME "afscreds.exe"
+#define AFS_VERINFO_LANG_CODE 0x404
+#define AFS_VERINFO_CHARSET 950
+#include "AFS_component_version_number.h"
+#include "..\..\config\NTVersioninfo.rc"
\r
/////////////////////////////////////////////////////////////////////////////\r
//\r
*/
#define AFS_VERINFO_FILE_DESCRIPTION "AFS Explorer Extension DLL"
+#define AFS_VERINFO_DLL
+#define AFS_VERINFO_NAME "afs_shl_ext"
+#define AFS_VERINFO_FILENAME "afs_shl_ext.dll"
#include "AFS_component_version_number.h"
#include "..\..\config\NTVersioninfo.rc"
\r
#endif // APSTUDIO_INVOKED\r
\r
-\r
+#ifndef _MAC
+/////////////////////////////////////////////////////////////////////////////
+//
+// Version
+//
+
+#define AFS_VERINFO_FILE_DESCRIPTION "AFS Explorer Extension DLL"
+
+#define AFS_VERINFO_NAME "afs_shl_ext"
+#define AFS_VERINFO_FILENAME "afs_shl_ext.exe"
+#define AFS_VERINFO_LANG_CODE 0x407
+#define AFS_VERINFO_CHARSET 1252
+#include "AFS_component_version_number.h"
+#include "..\..\config\NTVersioninfo.rc"
+\r
+#endif // !_MAC
/////////////////////////////////////////////////////////////////////////////\r
//\r
// Menu\r
#define AFS_VERINFO_FILE_DESCRIPTION "AFS Explorer Extension DLL"
+#define AFS_VERINFO_NAME "afs_shl_ext"
+#define AFS_VERINFO_FILENAME "afs_shl_ext.exe"
+#define AFS_VERINFO_LANG_CODE 0x409
+#define AFS_VERINFO_CHARSET 1252
#include "AFS_component_version_number.h"
#include "..\..\config\NTVersioninfo.rc"
#endif // APSTUDIO_INVOKED
+#ifndef _MAC
+/////////////////////////////////////////////////////////////////////////////
+//
+// Version
+//
+
+#define AFS_VERINFO_FILE_DESCRIPTION "AFS Explorer Extension DLL"
+
+#define AFS_VERINFO_NAME "afs_shl_ext"
+#define AFS_VERINFO_FILENAME "afs_shl_ext.exe"
+#define AFS_VERINFO_LANG_CODE 0x40a
+#define AFS_VERINFO_CHARSET 1252
+#include "AFS_component_version_number.h"
+#include "..\..\config\NTVersioninfo.rc"
+
+#endif // !_MAC
/////////////////////////////////////////////////////////////////////////////
//
#endif // APSTUDIO_INVOKED
+#ifndef _MAC
+/////////////////////////////////////////////////////////////////////////////
+//
+// Version
+//
+
+#define AFS_VERINFO_FILE_DESCRIPTION "AFS Explorer Extension DLL"
+
+#define AFS_VERINFO_NAME "afs_shl_ext"
+#define AFS_VERINFO_FILENAME "afs_shl_ext.exe"
+#define AFS_VERINFO_LANG_CODE 0x411
+#define AFS_VERINFO_CHARSET 936
+#include "AFS_component_version_number.h"
+#include "..\..\config\NTVersioninfo.rc"
+
+#endif // !_MAC
/////////////////////////////////////////////////////////////////////////////
//
// Menu
#endif // APSTUDIO_INVOKED
+#ifndef _MAC
+/////////////////////////////////////////////////////////////////////////////
+//
+// Version
+//
+
+#define AFS_VERINFO_FILE_DESCRIPTION "AFS Explorer Extension DLL"
+
+#define AFS_VERINFO_NAME "afs_shl_ext"
+#define AFS_VERINFO_FILENAME "afs_shl_ext.exe"
+#define AFS_VERINFO_LANG_CODE 0x412
+#define AFS_VERINFO_CHARSET 949
+#include "AFS_component_version_number.h"
+#include "..\..\config\NTVersioninfo.rc"
+
+#endif // !_MAC
/////////////////////////////////////////////////////////////////////////////
//
#endif // APSTUDIO_INVOKED
+#ifndef _MAC
+/////////////////////////////////////////////////////////////////////////////
+//
+// Version
+//
+
+#define AFS_VERINFO_FILE_DESCRIPTION "AFS Explorer Extension DLL"
+
+#define AFS_VERINFO_NAME "afs_shl_ext"
+#define AFS_VERINFO_FILENAME "afs_shl_ext.exe"
+#define AFS_VERINFO_LANG_CODE 0x416
+#define AFS_VERINFO_CHARSET 1252
+#include "AFS_component_version_number.h"
+#include "..\..\config\NTVersioninfo.rc"
+
+#endif // !_MAC
/////////////////////////////////////////////////////////////////////////////
//
#endif // APSTUDIO_INVOKED
+#ifndef _MAC
+/////////////////////////////////////////////////////////////////////////////
+//
+// Version
+//
+
+#define AFS_VERINFO_FILE_DESCRIPTION "AFS Explorer Extension DLL"
+
+#define AFS_VERINFO_NAME "afs_shl_ext"
+#define AFS_VERINFO_FILENAME "afs_shl_ext.exe"
+#define AFS_VERINFO_LANG_CODE 0x804
+#define AFS_VERINFO_CHARSET 936
+#include "AFS_component_version_number.h"
+#include "..\..\config\NTVersioninfo.rc"
+
+#endif // !_MAC
/////////////////////////////////////////////////////////////////////////////
//
#endif // APSTUDIO_INVOKED
+#ifndef _MAC
+/////////////////////////////////////////////////////////////////////////////
+//
+// Version
+//
+
+#define AFS_VERINFO_FILE_DESCRIPTION "AFS Explorer Extension DLL"
+
+#define AFS_VERINFO_NAME "afs_shl_ext"
+#define AFS_VERINFO_FILENAME "afs_shl_ext.exe"
+#define AFS_VERINFO_LANG_CODE 0x404
+#define AFS_VERINFO_CHARSET 950
+#include "AFS_component_version_number.h"
+#include "..\..\config\NTVersioninfo.rc"
+#endif // !_MAC
/////////////////////////////////////////////////////////////////////////////
//
// Menu
/* Define VERSIONINFO resource */
#define AFS_VERINFO_FILE_DESCRIPTION "AFS OSI DLL"
+#define AFS_VERINFO_DLL
+#define AFS_VERINFO_NAME "libosi"
+#define AFS_VERINFO_FILENAME "libosi.dll"
#include "AFS_component_version_number.h"
#include "..\..\config\NTVersioninfo.rc"
/* large int */
#ifndef DJGPP
#include <rpc.h>
+#if !defined(_MSC_VER) || (_MSC_VER < 1300)
#include <largeint.h>
+#endif
#include "osithrdnt.h"
#else /* DJGPP */
#include "largeint95.h"
#endif /* !DJGPP */
typedef LARGE_INTEGER osi_hyper_t;
+#if _MSC_VER >= 1300
+LARGE_INTEGER LargeIntegerAdd(LARGE_INTEGER a, LARGE_INTEGER b);
+LARGE_INTEGER LargeIntegerSubtract(LARGE_INTEGER a, LARGE_INTEGER b);
+LARGE_INTEGER ExtendedLargeIntegerDivide(LARGE_INTEGER a, unsigned long b, unsigned long *remainder);
+LARGE_INTEGER LargeIntegerDivide(LARGE_INTEGER a, LARGE_INTEGER b, LARGE_INTEGER *remainder);
+LARGE_INTEGER ConvertLongToLargeInteger(unsigned long a);
+#define LargeIntegerGreaterThan(a, b) \
+ ((a).HighPart > (b).HighPart || \
+ ((a).HighPart == (b).HighPart && (a).LowPart > (b).LowPart))
+
+#define LargeIntegerGreaterThanOrEqualTo(a, b) \
+ ((a).HighPart > (b).HighPart || \
+ ((a).HighPart == (b).HighPart && (a).LowPart >= (b).LowPart))
+
+#define LargeIntegerLessThan(a, b) \
+ ((a).HighPart < (b).HighPart || \
+ ((a).HighPart == (b).HighPart && (a).LowPart < (b).LowPart))
+
+#define LargeIntegerLessThanOrEqualTo(a, b) \
+ ((a).HighPart < (b).HighPart || \
+ ((a).HighPart == (b).HighPart && (a).LowPart <= (b).LowPart))
+
+#define LargeIntegerEqualTo(a, b) \
+ ((a).HighPart == (b).HighPart && (a).LowPart == (b).LowPart)
+
+#define LargeIntegerGreaterOrEqualToZero(a) ((a).HighPart >= 0)
+
+#define LargeIntegerLessThanZero(a) ((a).HighPart < 0)
+
+#define LargeIntegerNotEqualToZero(a) ((a).HighPart || (a).LowPart)
+#endif
#ifndef DJGPP
typedef GUID osi_uid_t;
#else /* DJGPP */
#define _OSISTATL_H_ENV_ 1
#include "osibasel.h"
+#if !defined(_MSC_VER) || (_MSC_VER < 1300)
#include <largeint.h>
+#endif
#include "osiqueue.h"
/* structure representing all information about someone holding a lock
#include <stdlib.h>
#include <stdio.h>
#include <assert.h>
+#include <limits.h>
#include <rpc.h>
#include "osiutils.h"
{
free(p);
}
+
+#if (_MSC_VER >= 1300)
+LARGE_INTEGER LargeIntegerAdd(LARGE_INTEGER a, LARGE_INTEGER b)
+{
+ LARGE_INTEGER result;
+ int carry;
+ result.LowPart=a.LowPart+b.LowPart;
+ carry=(result.LowPart < b.LowPart) ? 1 : 0;
+ result.HighPart=a.HighPart+b.HighPart+ carry;
+ return result;
+}
+LARGE_INTEGER LargeIntegerSubtract(LARGE_INTEGER a, LARGE_INTEGER b)
+{
+ LARGE_INTEGER result;
+ int borrow;
+ result.LowPart=a.LowPart-b.LowPart;
+ borrow=(result.LowPart > a.LowPart) ? 1 : 0;
+ result.HighPart=a.HighPart-b.HighPart- borrow;
+ return result;
+}
+LARGE_INTEGER ExtendedLargeIntegerDivide(LARGE_INTEGER a, unsigned long b, unsigned long *remainder)
+{
+ LARGE_INTEGER result;
+ ULONGLONG a1,q1,r1;
+
+ result.HighPart=0;
+ result.LowPart=0;
+ if (b == 0) { return result; }
+ if (b == 1) { *remainder = 0; return a; }
+
+ a1=(a.HighPart << 32) | a.LowPart;
+ q1=a1/b;
+ r1=a1-(q1*b);
+ if (r1 > ULONG_MAX) /*XXX */;
+ result.HighPart=q1 >> 32;
+ result.LowPart=q1 & 0xffffffff;
+ *remainder=r1 & 0xffffffff;
+ return result;
+}
+LARGE_INTEGER LargeIntegerDivide(LARGE_INTEGER a, LARGE_INTEGER b, LARGE_INTEGER *remainder)
+{
+ LARGE_INTEGER result;
+ ULONGLONG a1,b1,q1,r1;
+
+ result.HighPart=0;
+ result.LowPart=0;
+ if (b.HighPart == 0 && b.LowPart == 0) { return result; }
+ if (b.HighPart == 0 && b.LowPart == 1) {
+ remainder->HighPart = 0;
+ remainder->LowPart = 0;
+ return a;
+ }
+
+ a1=(a.HighPart << 32) | a.LowPart;
+ b1=(b.HighPart << 32) | a.LowPart;
+ q1=a1/b1;
+ r1=a1-(q1*b1);
+ result.HighPart=q1 >> 32;
+ result.LowPart=q1 & 0xffffffff;
+ remainder->HighPart=r1 >> 32;
+ remainder->LowPart=r1 & 0xffffffff;
+ return result;
+}
+
+LARGE_INTEGER ConvertLongToLargeInteger(unsigned long a)
+{
+ LARGE_INTEGER result;
+ result.HighPart=0;
+ result.LowPart=a;
+ return result;
+}
+#endif
/* Define VERSIONINFO resource */
#define AFS_VERINFO_FILE_DESCRIPTION "AFS Event Log Message DLL"
+#define AFS_VERINFO_DLL
+#define AFS_VERINFO_NAME "afseventmsg"
+#define AFS_VERINFO_FILENAME "afseventmsg.dll"
#include "AFS_component_version_number.h"
#include "..\..\config\NTVersioninfo.rc"
-;/* Copyright 2000, International Business Machines Corporation and others.\r
-; * All Rights Reserved.\r
-; *\r
-; * This software has been released under the terms of the IBM Public\r
-; * License. For details, see the LICENSE file in the top-level source\r
-; * directory or online at http://www.openafs.org/dl/license10.html\r
-; * event.mc --(mc)--> event.[h|rc] --(logevent.h + event.h)--> afsevent.h\r
-; */\r
-;\r
-;#ifndef TRANSARC_AFSEVENT_H\r
-;#define TRANSARC_AFSEVENT_H\r
-;\r
-;\r
-;/* AFS event.mc format.\r
-; *\r
-; * AFS event messages are grouped by category. The MessageId of the\r
-; * first message in a given category specifies the starting identifier\r
-; * range for that category; the second and later messages in a category\r
-; * do NOT specify a MessageId value and thus receive the value of the\r
-; * previous message plus one.\r
-; *\r
-; * To add a new message to an existing category, append it to the end of\r
-; * that category. To create a new category, provide an appropriate\r
-; * comment line and specify a non-conflicting MessageId for the first\r
-; * message in the new category.\r
-; */\r
-;\r
-\r
-\r
-MessageIdTypedef=unsigned\r
-LanguageNames=(German=1:MSG000001)\r
-;\r
-;/* Test message text */\r
-;\r
-\r
-MessageId=0x0001\r
-Severity=Informational\r
-SymbolicName=AFSEVT_SVR_TEST_MSG_NOARGS\r
-Language=German\r
-Testnachricht für das AFS-Server-Ereignisprotokoll.\r
-.\r
-\r
-MessageId=\r
-Severity=Warning\r
-SymbolicName=AFSEVT_SVR_TEST_MSG_TWOARGS\r
-Language=German\r
-Testnachricht für das AFS-Server-Ereignisprotokoll (Zeichenfolge1: %1, Zeichenfolge2: %2).\r
-.\r
-\r
-\r
-\r
-;\r
-;/* General messages for all AFS server processes */\r
-;\r
-\r
-MessageId=0x0101\r
-Severity=Error\r
-SymbolicName=AFSEVT_SVR_FAILED_ASSERT\r
-Language=German\r
-Ein AFS-Server-Prozeß konnte kein Assert durchführen: Zeile %1 in Datei %2.\r
-.\r
-\r
-MessageId=\r
-Severity=Error\r
-SymbolicName=AFSEVT_SVR_NO_INSTALL_DIR\r
-Language=German\r
-%1 konnte das Installationsverzeichnis der AFS-Software nicht finden.\r
-.\r
-\r
-MessageId=\r
-Severity=Error\r
-SymbolicName=AFSEVT_SVR_WINSOCK_INIT_FAILED\r
-Language=German\r
-%1 konnte die Windows Sockets-Bibliothek nicht initialisieren.\r
-.\r
-\r
-\r
-\r
-;\r
-;/* AFS BOS control (startup/shutdown) service messages */\r
-;\r
-\r
-MessageId=0x0201\r
-Severity=Informational\r
-SymbolicName=AFSEVT_SVR_BCS_STARTED\r
-Language=German\r
-Der AFS BOS-Steuerungsservice wurde gestartet.\r
-.\r
-\r
-MessageId=\r
-Severity=Informational\r
-SymbolicName=AFSEVT_SVR_BCS_STOPPED\r
-Language=German\r
-Der AFS BOS-Steuerungsservice wurde beendet.\r
-.\r
-\r
-MessageId=\r
-Severity=Error\r
-SymbolicName=AFSEVT_SVR_BCS_SCM_COMM_FAILED\r
-Language=German\r
-Der AFS BOS-Steuerungsservice kann keine Daten zum System-SCM übertragen.\r
-.\r
-\r
-MessageId=\r
-Severity=Error\r
-SymbolicName=AFSEVT_SVR_BCS_HANDLER_REG_FAILED\r
-Language=German\r
-Der AFS BOS-Steuerungsservice kann keine Ereignissteuerroutine registrieren. Die AFS-Server-Software ist möglicherweise nicht einwandfrei konfiguriert.\r
-.\r
-\r
-MessageId=\r
-Severity=Error\r
-SymbolicName=AFSEVT_SVR_BCS_INSUFFICIENT_RESOURCES\r
-Language=German\r
-Der AFS BOS-Steuerungsservice kann die erforderlichen Systemressourcen nicht erhalten.\r
-.\r
-\r
-MessageId=\r
-Severity=Error\r
-SymbolicName=AFSEVT_SVR_BCS_INTERNAL_ERROR\r
-Language=German\r
-Im AFS BOS-Steuerungsservice ist ein interner Fehler aufgetreten.\r
-.\r
-\r
-MessageId=\r
-Severity=Error\r
-SymbolicName=AFSEVT_SVR_BCS_NO_INSTALL_DIR\r
-Language=German\r
-Der AFS BOS-Steuerungsservice konnte das Installationsverzeichnis der AFS-Software nicht finden. Die AFS-Server-Software ist möglicherweise nicht einwandfrei konfiguriert.\r
-.\r
-\r
-MessageId=\r
-Severity=Error\r
-SymbolicName=AFSEVT_SVR_BCS_BOSSERVER_START_FAILED\r
-Language=German\r
-Der AFS BOS-Steuerungsservice konnte den AFS BOS-Server nicht oder nicht erneut starten.\r
-.\r
-\r
-MessageId=\r
-Severity=Error\r
-SymbolicName=AFSEVT_SVR_BCS_BOSSERVER_STOP_FAILED\r
-Language=German\r
-Der AFS BOS-Steuerungsservice konnte den AFS BOS-Server nicht beenden. Alle AFS-Server-Prozesse müssen manuell beendet werden (versuchen Sie, über den Befehl afskill dem AFS BOS-Server ein SIGQUIT-Signal zu senden).\r
-.\r
-\r
-MessageId=\r
-Severity=Warning\r
-SymbolicName=AFSEVT_SVR_BCS_BOSSERVER_STOP_TIMEOUT\r
-Language=German\r
-Der AFS BOS-Steuerungsservice wartet nicht mehr länger auf das Beenden des AFS BOS-Servers. Überprüfen Sie vor dem Neustart des Service, ob alle AFS-Server-Prozesse beendet wurden.\r
-.\r
-\r
-MessageId=\r
-Severity=Informational\r
-SymbolicName=AFSEVT_SVR_BCS_BOSSERVER_RESTART\r
-Language=German\r
-Der AFS BOS-Steuerungsservice startet den AFS BOS-Server neu.\r
-.\r
-\r
-MessageId=\r
-Severity=Informational\r
-SymbolicName=AFSEVT_SVR_BCS_BOSSERVER_EXIT\r
-Language=German\r
-Der AFS BOS-Steuerungsservice hat festgestellt, daß der AFS BOS-Server ohne Anforderung eines Neustarts beendet wurde.\r
-.\r
-\r
-\r
-\r
-;\r
-;#endif /* TRANSARC_AFSEVENT_H */\r
+;/* Copyright 2000, International Business Machines Corporation and others.
+; * All Rights Reserved.
+; *
+; * This software has been released under the terms of the IBM Public
+; * License. For details, see the LICENSE file in the top-level source
+; * directory or online at http://www.openafs.org/dl/license10.html
+; * event.mc --(mc)--> event.[h|rc] --(logevent.h + event.h)--> afsevent.h
+; */
+;
+;#ifndef TRANSARC_AFSEVENT_H
+;#define TRANSARC_AFSEVENT_H
+;
+;
+;/* AFS event.mc format.
+; *
+; * AFS event messages are grouped by category. The MessageId of the
+; * first message in a given category specifies the starting identifier
+; * range for that category; the second and later messages in a category
+; * do NOT specify a MessageId value and thus receive the value of the
+; * previous message plus one.
+; *
+; * To add a new message to an existing category, append it to the end of
+; * that category. To create a new category, provide an appropriate
+; * comment line and specify a non-conflicting MessageId for the first
+; * message in the new category.
+; */
+;
+
+
+MessageIdTypedef=unsigned
+LanguageNames=(German=1:MSG000001)
+;
+;/* Test message text */
+;
+
+MessageId=0x0001
+Severity=Informational
+SymbolicName=AFSEVT_SVR_TEST_MSG_NOARGS
+Language=German
+Testnachricht für das AFS-Server-Ereignisprotokoll.
+.
+
+MessageId=
+Severity=Warning
+SymbolicName=AFSEVT_SVR_TEST_MSG_TWOARGS
+Language=German
+Testnachricht für das AFS-Server-Ereignisprotokoll (Zeichenfolge1: %1, Zeichenfolge2: %2).
+.
+
+
+
+;
+;/* General messages for all AFS server processes */
+;
+
+MessageId=0x0101
+Severity=Error
+SymbolicName=AFSEVT_SVR_FAILED_ASSERT
+Language=German
+Ein AFS-Server-Prozeß konnte kein Assert durchführen: Zeile %1 in Datei %2.
+.
+
+MessageId=
+Severity=Error
+SymbolicName=AFSEVT_SVR_NO_INSTALL_DIR
+Language=German
+%1 konnte das Installationsverzeichnis der AFS-Software nicht finden.
+.
+
+MessageId=
+Severity=Error
+SymbolicName=AFSEVT_SVR_WINSOCK_INIT_FAILED
+Language=German
+%1 konnte die Windows Sockets-Bibliothek nicht initialisieren.
+.
+
+
+
+;
+;/* AFS BOS control (startup/shutdown) service messages */
+;
+
+MessageId=0x0201
+Severity=Informational
+SymbolicName=AFSEVT_SVR_BCS_STARTED
+Language=German
+Der AFS BOS-Steuerungsservice wurde gestartet.
+.
+
+MessageId=
+Severity=Informational
+SymbolicName=AFSEVT_SVR_BCS_STOPPED
+Language=German
+Der AFS BOS-Steuerungsservice wurde beendet.
+.
+
+MessageId=
+Severity=Error
+SymbolicName=AFSEVT_SVR_BCS_SCM_COMM_FAILED
+Language=German
+Der AFS BOS-Steuerungsservice kann keine Daten zum System-SCM übertragen.
+.
+
+MessageId=
+Severity=Error
+SymbolicName=AFSEVT_SVR_BCS_HANDLER_REG_FAILED
+Language=German
+Der AFS BOS-Steuerungsservice kann keine Ereignissteuerroutine registrieren. Die AFS-Server-Software ist möglicherweise nicht einwandfrei konfiguriert.
+.
+
+MessageId=
+Severity=Error
+SymbolicName=AFSEVT_SVR_BCS_INSUFFICIENT_RESOURCES
+Language=German
+Der AFS BOS-Steuerungsservice kann die erforderlichen Systemressourcen nicht erhalten.
+.
+
+MessageId=
+Severity=Error
+SymbolicName=AFSEVT_SVR_BCS_INTERNAL_ERROR
+Language=German
+Im AFS BOS-Steuerungsservice ist ein interner Fehler aufgetreten.
+.
+
+MessageId=
+Severity=Error
+SymbolicName=AFSEVT_SVR_BCS_NO_INSTALL_DIR
+Language=German
+Der AFS BOS-Steuerungsservice konnte das Installationsverzeichnis der AFS-Software nicht finden. Die AFS-Server-Software ist möglicherweise nicht einwandfrei konfiguriert.
+.
+
+MessageId=
+Severity=Error
+SymbolicName=AFSEVT_SVR_BCS_BOSSERVER_START_FAILED
+Language=German
+Der AFS BOS-Steuerungsservice konnte den AFS BOS-Server nicht oder nicht erneut starten.
+.
+
+MessageId=
+Severity=Error
+SymbolicName=AFSEVT_SVR_BCS_BOSSERVER_STOP_FAILED
+Language=German
+Der AFS BOS-Steuerungsservice konnte den AFS BOS-Server nicht beenden. Alle AFS-Server-Prozesse müssen manuell beendet werden (versuchen Sie, über den Befehl afskill dem AFS BOS-Server ein SIGQUIT-Signal zu senden).
+.
+
+MessageId=
+Severity=Warning
+SymbolicName=AFSEVT_SVR_BCS_BOSSERVER_STOP_TIMEOUT
+Language=German
+Der AFS BOS-Steuerungsservice wartet nicht mehr länger auf das Beenden des AFS BOS-Servers. Überprüfen Sie vor dem Neustart des Service, ob alle AFS-Server-Prozesse beendet wurden.
+.
+
+MessageId=
+Severity=Informational
+SymbolicName=AFSEVT_SVR_BCS_BOSSERVER_RESTART
+Language=German
+Der AFS BOS-Steuerungsservice startet den AFS BOS-Server neu.
+.
+
+MessageId=
+Severity=Informational
+SymbolicName=AFSEVT_SVR_BCS_BOSSERVER_EXIT
+Language=German
+Der AFS BOS-Steuerungsservice hat festgestellt, daß der AFS BOS-Server ohne Anforderung eines Neustarts beendet wurde.
+.
+
+
+
+;
+;#endif /* TRANSARC_AFSEVENT_H */
-;/* Copyright 2000, International Business Machines Corporation and others.\r
-; * All Rights Reserved.\r
-; *\r
-; * This software has been released under the terms of the IBM Public\r
-; * License. For details, see the LICENSE file in the top-level source\r
-; * directory or online at http://www.openafs.org/dl/license10.html\r
-; * event.mc --(mc)--> event.[h|rc] --(logevent.h + event.h)--> afsevent.h\r
-; */\r
-;\r
-;#ifndef TRANSARC_AFSEVENT_H\r
-;#define TRANSARC_AFSEVENT_H\r
-;\r
-;\r
-;/* AFS event.mc format.\r
-; *\r
-; * AFS event messages are grouped by category. The MessageId of the\r
-; * first message in a given category specifies the starting identifier\r
-; * range for that category; the second and later messages in a category\r
-; * do NOT specify a MessageId value and thus receive the value of the\r
-; * previous message plus one.\r
-; *\r
-; * To add a new message to an existing category, append it to the end of\r
-; * that category. To create a new category, provide an appropriate\r
-; * comment line and specify a non-conflicting MessageId for the first\r
-; * message in the new category.\r
-; */\r
-;\r
-\r
-\r
-MessageIdTypedef=unsigned\r
-\r
-;\r
-;/* Test message text */\r
-;\r
-\r
-MessageId=0x0001\r
-Severity=Informational\r
-SymbolicName=AFSEVT_SVR_TEST_MSG_NOARGS\r
-Language=English\r
-Mensaje de prueba de registro cronol=gico de eventos de servidor de AFS.\r
-.\r
-\r
-MessageId=\r
-Severity=Warning\r
-SymbolicName=AFSEVT_SVR_TEST_MSG_TWOARGS\r
-Language=English\r
-Mensaje de prueba de registro cronol=gico de eventos de servidor de AFS (str1: %1, str2: %2).\r
-.\r
-\r
-\r
-\r
-;\r
-;/* General messages for all AFS server processes */\r
-;\r
-\r
-MessageId=0x0101\r
-Severity=Error\r
-SymbolicName=AFSEVT_SVR_FAILED_ASSERT\r
-Language=English\r
-Ha resultado an=mala una afirmaci=n en un proceso de servidor de AFS: lfnea %1 en el archivo %2.\r
-.\r
-\r
-MessageId=\r
-Severity=Error\r
-SymbolicName=AFSEVT_SVR_NO_INSTALL_DIR\r
-Language=English\r
-%1 no ha podido localizar el directorio de instalaci=n de software de AFS.\r
-.\r
-\r
-MessageId=\r
-Severity=Error\r
-SymbolicName=AFSEVT_SVR_WINSOCK_INIT_FAILED\r
-Language=English\r
-%1 no ha podido inicializar la biblioteca de Windows Sockets.\r
-.\r
-\r
-\r
-\r
-;\r
-;/* AFS BOS control (startup/shutdown) service messages */\r
-;\r
-\r
-MessageId=0x0201\r
-Severity=Informational\r
-SymbolicName=AFSEVT_SVR_BCS_STARTED\r
-Language=English\r
-Se ha iniciado el servicio de control de BOS de AFS.\r
-.\r
-\r
-MessageId=\r
-Severity=Informational\r
-SymbolicName=AFSEVT_SVR_BCS_STOPPED\r
-Language=English\r
-Se ha detenido el servicio de control de BOS de AFS.\r
-.\r
-\r
-MessageId=\r
-Severity=Error\r
-SymbolicName=AFSEVT_SVR_BCS_SCM_COMM_FAILED\r
-Language=English\r
-El servicio de control de BOS de AFS no ha podido comunicarse con el SCM de sistema.\r
-.\r
-\r
-MessageId=\r
-Severity=Error\r
-SymbolicName=AFSEVT_SVR_BCS_HANDLER_REG_FAILED\r
-Language=English\r
-El servicio de control de BOS de AFS no ha podido registrar un manejador de eventos. Es posible que el software de servidor de AFS se haya configurado indebidamente.\r
-.\r
-\r
-MessageId=\r
-Severity=Error\r
-SymbolicName=AFSEVT_SVR_BCS_INSUFFICIENT_RESOURCES\r
-Language=English\r
-El servicio de control de BOS de AFS no ha podido obtener los recursos de sistema necesarios.\r
-.\r
-\r
-MessageId=\r
-Severity=Error\r
-SymbolicName=AFSEVT_SVR_BCS_INTERNAL_ERROR\r
-Language=English\r
-El servicio de control de BOS de AFS ha sufrido un error interno.\r
-.\r
-\r
-MessageId=\r
-Severity=Error\r
-SymbolicName=AFSEVT_SVR_BCS_NO_INSTALL_DIR\r
-Language=English\r
-El servicio de control de BOS de AFS no ha podido localizar el\r
-directorio de instalaci=n de software de AFS. Es posible que el\r
-software de servidor de AFS se haya configurado indebidamente.\r
-.\r
-\r
-MessageId=\r
-Severity=Error\r
-SymbolicName=AFSEVT_SVR_BCS_BOSSERVER_START_FAILED\r
-Language=English\r
-El servicio de control de BOS de AFS no ha podido iniciar o reiniciar el bosserver de AFS.\r
-.\r
-\r
-MessageId=\r
-Severity=Error\r
-SymbolicName=AFSEVT_SVR_BCS_BOSSERVER_STOP_FAILED\r
-Language=English\r
-El servicio de control de BOS de AFS no ha podido\r
-detener el bosserver de AFS. Todos los procesos de servidor de AFS\r
-deben detenerse manualmente (pruebe a enviar al bosserver\r
-de AFS una se±al de SIGQUIT por medio del mandato afskill).\r
-.\r
-\r
-MessageId=\r
-Severity=Warning\r
-SymbolicName=AFSEVT_SVR_BCS_BOSSERVER_STOP_TIMEOUT\r
-Language=English\r
-El servicio de control de BOS de AFS ha dejado de esperar\r
-la detenci=n del bosserver de AFS. Compruebe que se han detenido\r
-todos los procesos de servidor de AFS antes de reiniciar el servicio.\r
-.\r
-\r
-MessageId=\r
-Severity=Informational\r
-SymbolicName=AFSEVT_SVR_BCS_BOSSERVER_RESTART\r
-Language=English\r
-El servicio de control de BOS de AFS estß reiniciando el bosserver de AFS.\r
-.\r
-\r
-MessageId=\r
-Severity=Informational\r
-SymbolicName=AFSEVT_SVR_BCS_BOSSERVER_EXIT\r
-Language=English\r
-El servicio de control de BOS de AFS ha detectado que el\r
-bosserver de AFS ha salido sin solicitar un reinicio.\r
-.\r
-\r
-\r
-\r
-;\r
-;#endif /* TRANSARC_AFSEVENT_H */\r
+;/* Copyright 2000, International Business Machines Corporation and others.
+; * All Rights Reserved.
+; *
+; * This software has been released under the terms of the IBM Public
+; * License. For details, see the LICENSE file in the top-level source
+; * directory or online at http://www.openafs.org/dl/license10.html
+; * event.mc --(mc)--> event.[h|rc] --(logevent.h + event.h)--> afsevent.h
+; */
+;
+;#ifndef TRANSARC_AFSEVENT_H
+;#define TRANSARC_AFSEVENT_H
+;
+;
+;/* AFS event.mc format.
+; *
+; * AFS event messages are grouped by category. The MessageId of the
+; * first message in a given category specifies the starting identifier
+; * range for that category; the second and later messages in a category
+; * do NOT specify a MessageId value and thus receive the value of the
+; * previous message plus one.
+; *
+; * To add a new message to an existing category, append it to the end of
+; * that category. To create a new category, provide an appropriate
+; * comment line and specify a non-conflicting MessageId for the first
+; * message in the new category.
+; */
+;
+
+
+MessageIdTypedef=unsigned
+
+;
+;/* Test message text */
+;
+
+MessageId=0x0001
+Severity=Informational
+SymbolicName=AFSEVT_SVR_TEST_MSG_NOARGS
+Language=English
+Mensaje de prueba de registro cronol=gico de eventos de servidor de AFS.
+.
+
+MessageId=
+Severity=Warning
+SymbolicName=AFSEVT_SVR_TEST_MSG_TWOARGS
+Language=English
+Mensaje de prueba de registro cronol=gico de eventos de servidor de AFS (str1: %1, str2: %2).
+.
+
+
+
+;
+;/* General messages for all AFS server processes */
+;
+
+MessageId=0x0101
+Severity=Error
+SymbolicName=AFSEVT_SVR_FAILED_ASSERT
+Language=English
+Ha resultado an=mala una afirmaci=n en un proceso de servidor de AFS: lfnea %1 en el archivo %2.
+.
+
+MessageId=
+Severity=Error
+SymbolicName=AFSEVT_SVR_NO_INSTALL_DIR
+Language=English
+%1 no ha podido localizar el directorio de instalaci=n de software de AFS.
+.
+
+MessageId=
+Severity=Error
+SymbolicName=AFSEVT_SVR_WINSOCK_INIT_FAILED
+Language=English
+%1 no ha podido inicializar la biblioteca de Windows Sockets.
+.
+
+
+
+;
+;/* AFS BOS control (startup/shutdown) service messages */
+;
+
+MessageId=0x0201
+Severity=Informational
+SymbolicName=AFSEVT_SVR_BCS_STARTED
+Language=English
+Se ha iniciado el servicio de control de BOS de AFS.
+.
+
+MessageId=
+Severity=Informational
+SymbolicName=AFSEVT_SVR_BCS_STOPPED
+Language=English
+Se ha detenido el servicio de control de BOS de AFS.
+.
+
+MessageId=
+Severity=Error
+SymbolicName=AFSEVT_SVR_BCS_SCM_COMM_FAILED
+Language=English
+El servicio de control de BOS de AFS no ha podido comunicarse con el SCM de sistema.
+.
+
+MessageId=
+Severity=Error
+SymbolicName=AFSEVT_SVR_BCS_HANDLER_REG_FAILED
+Language=English
+El servicio de control de BOS de AFS no ha podido registrar un manejador de eventos. Es posible que el software de servidor de AFS se haya configurado indebidamente.
+.
+
+MessageId=
+Severity=Error
+SymbolicName=AFSEVT_SVR_BCS_INSUFFICIENT_RESOURCES
+Language=English
+El servicio de control de BOS de AFS no ha podido obtener los recursos de sistema necesarios.
+.
+
+MessageId=
+Severity=Error
+SymbolicName=AFSEVT_SVR_BCS_INTERNAL_ERROR
+Language=English
+El servicio de control de BOS de AFS ha sufrido un error interno.
+.
+
+MessageId=
+Severity=Error
+SymbolicName=AFSEVT_SVR_BCS_NO_INSTALL_DIR
+Language=English
+El servicio de control de BOS de AFS no ha podido localizar el
+directorio de instalaci=n de software de AFS. Es posible que el
+software de servidor de AFS se haya configurado indebidamente.
+.
+
+MessageId=
+Severity=Error
+SymbolicName=AFSEVT_SVR_BCS_BOSSERVER_START_FAILED
+Language=English
+El servicio de control de BOS de AFS no ha podido iniciar o reiniciar el bosserver de AFS.
+.
+
+MessageId=
+Severity=Error
+SymbolicName=AFSEVT_SVR_BCS_BOSSERVER_STOP_FAILED
+Language=English
+El servicio de control de BOS de AFS no ha podido
+detener el bosserver de AFS. Todos los procesos de servidor de AFS
+deben detenerse manualmente (pruebe a enviar al bosserver
+de AFS una se±al de SIGQUIT por medio del mandato afskill).
+.
+
+MessageId=
+Severity=Warning
+SymbolicName=AFSEVT_SVR_BCS_BOSSERVER_STOP_TIMEOUT
+Language=English
+El servicio de control de BOS de AFS ha dejado de esperar
+la detenci=n del bosserver de AFS. Compruebe que se han detenido
+todos los procesos de servidor de AFS antes de reiniciar el servicio.
+.
+
+MessageId=
+Severity=Informational
+SymbolicName=AFSEVT_SVR_BCS_BOSSERVER_RESTART
+Language=English
+El servicio de control de BOS de AFS estß reiniciando el bosserver de AFS.
+.
+
+MessageId=
+Severity=Informational
+SymbolicName=AFSEVT_SVR_BCS_BOSSERVER_EXIT
+Language=English
+El servicio de control de BOS de AFS ha detectado que el
+bosserver de AFS ha salido sin solicitar un reinicio.
+.
+
+
+
+;
+;#endif /* TRANSARC_AFSEVENT_H */
-;/* Copyright 2000, International Business Machines Corporation and others.\r
-; * All Rights Reserved.\r
-; *\r
-; * This software has been released under the terms of the IBM Public\r
-; * License. For details, see the LICENSE file in the top-level source\r
-; * directory or online at http://www.openafs.org/dl/license10.html\r
-; * event.mc --(mc)--> event.[h|rc] --(logevent.h + event.h)--> afsevent.h\r
-; */\r
-;\r
-;#ifndef TRANSARC_AFSEVENT_H\r
-;#define TRANSARC_AFSEVENT_H\r
-;\r
-;\r
-;/* AFS event.mc format.\r
-; *\r
-; * AFS event messages are grouped by category. The MessageId of the\r
-; * first message in a given category specifies the starting identifier\r
-; * range for that category; the second and later messages in a category\r
-; * do NOT specify a MessageId value and thus receive the value of the\r
-; * previous message plus one.\r
-; *\r
-; * To add a new message to an existing category, append it to the end of\r
-; * that category. To create a new category, provide an appropriate\r
-; * comment line and specify a non-conflicting MessageId for the first\r
-; * message in the new category.\r
-; */\r
-;\r
-\r
-\r
-LanguageNames=(Japanese=1:MSG000001)\r
-MessageIdTypedef=unsigned\r
-\r
-;\r
-;/* Test message text */\r
-;\r
-\r
-MessageId=0x0001\r
-Severity=Informational\r
-SymbolicName=AFSEVT_SVR_TEST_MSG_NOARGS\r
-Language=Japanese\r
-AFS \83T\81[\83o\81[\81E\83C\83x\83\93\83g\81E\83\8d\83O\81E\83e\83X\83g\81E\83\81\83b\83Z\81[\83W\81B\r
-.\r
-\r
-MessageId=\r
-Severity=Warning\r
-SymbolicName=AFSEVT_SVR_TEST_MSG_TWOARGS\r
-Language=Japanese\r
-AFS \83T\81[\83o\81[\81E\83C\83x\83\93\83g\81E\83\8d\83O\81E\83e\83X\83g\81E\83\81\83b\83Z\81[\83W (str1: %1, str2: %2)\81B\r
-.\r
-\r
-\r
-\r
-;\r
-;/* General messages for all AFS server processes */\r
-;\r
-\r
-MessageId=0x0101\r
-Severity=Error\r
-SymbolicName=AFSEVT_SVR_FAILED_ASSERT\r
-Language=Japanese\r
-AFS \83T\81[\83o\81[\81E\83v\83\8d\83Z\83X\82ª\91ã\93ü\82É\8e¸\94s\82µ\82Ü\82µ\82½: \8ds %1 \83t\83@\83C\83\8b %2\81B\r
-.\r
-\r
-MessageId=\r
-Severity=Error\r
-SymbolicName=AFSEVT_SVR_NO_INSTALL_DIR\r
-Language=Japanese\r
-%1 \82ª AFS \83\\83t\83g\83E\83F\83A\82Ì\83C\83\93\83X\83g\81[\83\8b\81E\83f\83B\83\8c\83N\83g\83\8a\81[\82ð\8c©\82Â\82¯\82ç\82ê\82Ü\82¹\82ñ\82Å\82µ\82½\81B\r
-.\r
-\r
-MessageId=\r
-Severity=Error\r
-SymbolicName=AFSEVT_SVR_WINSOCK_INIT_FAILED\r
-Language=Japanese\r
-%1 \82ª Windows Socket \83\89\83C\83u\83\89\83\8a\81[\82ð\8f\89\8aú\89»\82Å\82«\82Ü\82¹\82ñ\82Å\82µ\82½\81B\r
-.\r
-\r
-\r
-\r
-;\r
-;/* AFS BOS control (startup/shutdown) service messages */\r
-;\r
-\r
-MessageId=0x0201\r
-Severity=Informational\r
-SymbolicName=AFSEVT_SVR_BCS_STARTED\r
-Language=Japanese\r
-AFS BOS \90§\8cä\83T\81[\83r\83X\82ª\8en\93®\82µ\82Ü\82µ\82½\81B\r
-.\r
-\r
-MessageId=\r
-Severity=Informational\r
-SymbolicName=AFSEVT_SVR_BCS_STOPPED\r
-Language=Japanese\r
-AFS BOS \90§\8cä\83T\81[\83r\83X\82ª\92â\8e~\82µ\82Ü\82µ\82½\81B\r
-.\r
-\r
-MessageId=\r
-Severity=Error\r
-SymbolicName=AFSEVT_SVR_BCS_SCM_COMM_FAILED\r
-Language=Japanese\r
-AFS BOS \90§\8cä\83T\81[\83r\83X\82ª\83V\83X\83e\83\80 SCM \82Æ\92Ê\90M\82Å\82«\82Ü\82¹\82ñ\81B\r
-.\r
-\r
-MessageId=\r
-Severity=Error\r
-SymbolicName=AFSEVT_SVR_BCS_HANDLER_REG_FAILED\r
-Language=Japanese\r
-AFS BOS \90§\8cä\83T\81[\83r\83X\82ª\83C\83x\83\93\83g\81E\83n\83\93\83h\83\89\81[\82ð\93o\98^\82Å\82«\82Ü\82¹\82ñ\81BAFS \83T\81[\83o\81[\81E\83\\83t\83g\83E\83F\83A\82ª\90³\82µ\82\8d\\90¬\82³\82ê\82Ä\82¢\82È\82¢\89Â\94\\90«\82ª\82 \82è\82Ü\82·\81B\r
-.\r
-\r
-MessageId=\r
-Severity=Error\r
-SymbolicName=AFSEVT_SVR_BCS_INSUFFICIENT_RESOURCES\r
-Language=Japanese\r
-AFS BOS \90§\8cä\83T\81[\83r\83X\82ª\95K\97v\82È\83V\83X\83e\83\80\81E\83\8a\83\\81[\83X\82ð\8eæ\93¾\82Å\82«\82Ü\82¹\82ñ\81B\r
-.\r
-\r
-MessageId=\r
-Severity=Error\r
-SymbolicName=AFSEVT_SVR_BCS_INTERNAL_ERROR\r
-Language=Japanese\r
-AFS BOS \90§\8cä\83T\81[\83r\83X\82ª\93à\95\94\83G\83\89\81[\82ð\8c\9f\8fo\82µ\82Ü\82µ\82½\81B\r
-.\r
-\r
-MessageId=\r
-Severity=Error\r
-SymbolicName=AFSEVT_SVR_BCS_NO_INSTALL_DIR\r
-Language=Japanese\r
-AFS BOS \90§\8cä\83T\81[\83r\83X\82ª AFS \83\\83t\83g\83E\83F\83A\82Ì\83C\83\93\83X\83g\81[\83\8b\81E\83f\83B\83\8c\83N\83g\83\8a\81[\82ð\8c©\82Â\82¯\82ç\82ê\82Ü\82¹\82ñ\82Å\82µ\82½\81BAFS \83T\81[\83o\81[\81E\83\\83t\83g\83E\83F\83A\82ª\90³\82µ\82\8d\\90¬\82³\82ê\82Ä\82¢\82È\82¢\89Â\94\\90«\82ª\82 \82è\82Ü\82·\81B\r
-.\r
-\r
-MessageId=\r
-Severity=Error\r
-SymbolicName=AFSEVT_SVR_BCS_BOSSERVER_START_FAILED\r
-Language=Japanese\r
-AFS BOS \90§\8cä\83T\81[\83r\83X\82ª AFS bosserver \82ð\8en\93®\82Ü\82½\82Í\8dÄ\8en\93®\82Å\82«\82Ü\82¹\82ñ\82Å\82µ\82½\81B\r
-.\r
-\r
-MessageId=\r
-Severity=Error\r
-SymbolicName=AFSEVT_SVR_BCS_BOSSERVER_STOP_FAILED\r
-Language=Japanese\r
-AFS BOS \90§\8cä\83T\81[\83r\83X\82ª AFS bosserver \82ð\92â\8e~\82Å\82«\82Ü\82¹\82ñ\82Å\82µ\82½\81BAFS \83T\81[\83o\81[\81E\83v\83\8d\83Z\83X\82ð\82·\82×\82Ä\8eè\93®\82Å\92â\8e~\82·\82é\95K\97v\82ª\82 \82è\82Ü\82· (AFS bosserver \82É afskill \83R\83}\83\93\83h\82Å SIGQUIT \83V\83O\83i\83\8b\82ð\91\97\90M\82µ\82Ä\82Ý\82Ä\82\82¾\82³\82¢)\81B\r
-.\r
-\r
-MessageId=\r
-Severity=Warning\r
-SymbolicName=AFSEVT_SVR_BCS_BOSSERVER_STOP_TIMEOUT\r
-Language=Japanese\r
-AFS BOS \90§\8cä\83T\81[\83r\83X\82ª AFS bosserver \82Ì\92â\8e~\91Ò\82¿\82ð\92\86\8e~\82µ\82Ü\82µ\82½\81B\83T\81[\83r\83X\82ð\8dÄ\8en\93®\82·\82é\91O\82É\81A\82·\82×\82Ä\82Ì AFS \83T\81[\83o\81[\81E\83v\83\8d\83Z\83X\82ª\92â\8e~\82µ\82Ä\82¢\82é\82±\82Æ\82ð\8am\82©\82ß\82Ä\82\82¾\82³\82¢\81B\r
-.\r
-\r
-MessageId=\r
-Severity=Informational\r
-SymbolicName=AFSEVT_SVR_BCS_BOSSERVER_RESTART\r
-Language=Japanese\r
-AFS BOS \90§\8cä\83T\81[\83r\83X\82ª AFS bosserver \82ð\8dÄ\8en\93®\82µ\82Ä\82¢\82Ü\82·\81B\r
-.\r
-\r
-MessageId=\r
-Severity=Informational\r
-SymbolicName=AFSEVT_SVR_BCS_BOSSERVER_EXIT\r
-Language=Japanese\r
-AFS BOS \90§\8cä\83T\81[\83r\83X\82ª\81AAFS bosserver \82ª\8dÄ\8en\93®\97v\8b\81\82È\82µ\82Å\8fI\97¹\82µ\82½\82±\82Æ\82ð\8c\9f\8fo\82µ\82Ü\82µ\82½\81B\r
-.\r
-\r
-\r
-\r
-;\r
-;#endif /* TRANSARC_AFSEVENT_H */\r
+;/* Copyright 2000, International Business Machines Corporation and others.
+; * All Rights Reserved.
+; *
+; * This software has been released under the terms of the IBM Public
+; * License. For details, see the LICENSE file in the top-level source
+; * directory or online at http://www.openafs.org/dl/license10.html
+; * event.mc --(mc)--> event.[h|rc] --(logevent.h + event.h)--> afsevent.h
+; */
+;
+;#ifndef TRANSARC_AFSEVENT_H
+;#define TRANSARC_AFSEVENT_H
+;
+;
+;/* AFS event.mc format.
+; *
+; * AFS event messages are grouped by category. The MessageId of the
+; * first message in a given category specifies the starting identifier
+; * range for that category; the second and later messages in a category
+; * do NOT specify a MessageId value and thus receive the value of the
+; * previous message plus one.
+; *
+; * To add a new message to an existing category, append it to the end of
+; * that category. To create a new category, provide an appropriate
+; * comment line and specify a non-conflicting MessageId for the first
+; * message in the new category.
+; */
+;
+
+
+LanguageNames=(Japanese=1:MSG000001)
+MessageIdTypedef=unsigned
+
+;
+;/* Test message text */
+;
+
+MessageId=0x0001
+Severity=Informational
+SymbolicName=AFSEVT_SVR_TEST_MSG_NOARGS
+Language=Japanese
+AFS \83T\81[\83o\81[\81E\83C\83x\83\93\83g\81E\83\8d\83O\81E\83e\83X\83g\81E\83\81\83b\83Z\81[\83W\81B
+.
+
+MessageId=
+Severity=Warning
+SymbolicName=AFSEVT_SVR_TEST_MSG_TWOARGS
+Language=Japanese
+AFS \83T\81[\83o\81[\81E\83C\83x\83\93\83g\81E\83\8d\83O\81E\83e\83X\83g\81E\83\81\83b\83Z\81[\83W (str1: %1, str2: %2)\81B
+.
+
+
+
+;
+;/* General messages for all AFS server processes */
+;
+
+MessageId=0x0101
+Severity=Error
+SymbolicName=AFSEVT_SVR_FAILED_ASSERT
+Language=Japanese
+AFS \83T\81[\83o\81[\81E\83v\83\8d\83Z\83X\82ª\91ã\93ü\82É\8e¸\94s\82µ\82Ü\82µ\82½: \8ds %1 \83t\83@\83C\83\8b %2\81B
+.
+
+MessageId=
+Severity=Error
+SymbolicName=AFSEVT_SVR_NO_INSTALL_DIR
+Language=Japanese
+%1 \82ª AFS \83\\83t\83g\83E\83F\83A\82Ì\83C\83\93\83X\83g\81[\83\8b\81E\83f\83B\83\8c\83N\83g\83\8a\81[\82ð\8c©\82Â\82¯\82ç\82ê\82Ü\82¹\82ñ\82Å\82µ\82½\81B
+.
+
+MessageId=
+Severity=Error
+SymbolicName=AFSEVT_SVR_WINSOCK_INIT_FAILED
+Language=Japanese
+%1 \82ª Windows Socket \83\89\83C\83u\83\89\83\8a\81[\82ð\8f\89\8aú\89»\82Å\82«\82Ü\82¹\82ñ\82Å\82µ\82½\81B
+.
+
+
+
+;
+;/* AFS BOS control (startup/shutdown) service messages */
+;
+
+MessageId=0x0201
+Severity=Informational
+SymbolicName=AFSEVT_SVR_BCS_STARTED
+Language=Japanese
+AFS BOS \90§\8cä\83T\81[\83r\83X\82ª\8en\93®\82µ\82Ü\82µ\82½\81B
+.
+
+MessageId=
+Severity=Informational
+SymbolicName=AFSEVT_SVR_BCS_STOPPED
+Language=Japanese
+AFS BOS \90§\8cä\83T\81[\83r\83X\82ª\92â\8e~\82µ\82Ü\82µ\82½\81B
+.
+
+MessageId=
+Severity=Error
+SymbolicName=AFSEVT_SVR_BCS_SCM_COMM_FAILED
+Language=Japanese
+AFS BOS \90§\8cä\83T\81[\83r\83X\82ª\83V\83X\83e\83\80 SCM \82Æ\92Ê\90M\82Å\82«\82Ü\82¹\82ñ\81B
+.
+
+MessageId=
+Severity=Error
+SymbolicName=AFSEVT_SVR_BCS_HANDLER_REG_FAILED
+Language=Japanese
+AFS BOS \90§\8cä\83T\81[\83r\83X\82ª\83C\83x\83\93\83g\81E\83n\83\93\83h\83\89\81[\82ð\93o\98^\82Å\82«\82Ü\82¹\82ñ\81BAFS \83T\81[\83o\81[\81E\83\\83t\83g\83E\83F\83A\82ª\90³\82µ\82\8d\\90¬\82³\82ê\82Ä\82¢\82È\82¢\89Â\94\\90«\82ª\82 \82è\82Ü\82·\81B
+.
+
+MessageId=
+Severity=Error
+SymbolicName=AFSEVT_SVR_BCS_INSUFFICIENT_RESOURCES
+Language=Japanese
+AFS BOS \90§\8cä\83T\81[\83r\83X\82ª\95K\97v\82È\83V\83X\83e\83\80\81E\83\8a\83\\81[\83X\82ð\8eæ\93¾\82Å\82«\82Ü\82¹\82ñ\81B
+.
+
+MessageId=
+Severity=Error
+SymbolicName=AFSEVT_SVR_BCS_INTERNAL_ERROR
+Language=Japanese
+AFS BOS \90§\8cä\83T\81[\83r\83X\82ª\93à\95\94\83G\83\89\81[\82ð\8c\9f\8fo\82µ\82Ü\82µ\82½\81B
+.
+
+MessageId=
+Severity=Error
+SymbolicName=AFSEVT_SVR_BCS_NO_INSTALL_DIR
+Language=Japanese
+AFS BOS \90§\8cä\83T\81[\83r\83X\82ª AFS \83\\83t\83g\83E\83F\83A\82Ì\83C\83\93\83X\83g\81[\83\8b\81E\83f\83B\83\8c\83N\83g\83\8a\81[\82ð\8c©\82Â\82¯\82ç\82ê\82Ü\82¹\82ñ\82Å\82µ\82½\81BAFS \83T\81[\83o\81[\81E\83\\83t\83g\83E\83F\83A\82ª\90³\82µ\82\8d\\90¬\82³\82ê\82Ä\82¢\82È\82¢\89Â\94\\90«\82ª\82 \82è\82Ü\82·\81B
+.
+
+MessageId=
+Severity=Error
+SymbolicName=AFSEVT_SVR_BCS_BOSSERVER_START_FAILED
+Language=Japanese
+AFS BOS \90§\8cä\83T\81[\83r\83X\82ª AFS bosserver \82ð\8en\93®\82Ü\82½\82Í\8dÄ\8en\93®\82Å\82«\82Ü\82¹\82ñ\82Å\82µ\82½\81B
+.
+
+MessageId=
+Severity=Error
+SymbolicName=AFSEVT_SVR_BCS_BOSSERVER_STOP_FAILED
+Language=Japanese
+AFS BOS \90§\8cä\83T\81[\83r\83X\82ª AFS bosserver \82ð\92â\8e~\82Å\82«\82Ü\82¹\82ñ\82Å\82µ\82½\81BAFS \83T\81[\83o\81[\81E\83v\83\8d\83Z\83X\82ð\82·\82×\82Ä\8eè\93®\82Å\92â\8e~\82·\82é\95K\97v\82ª\82 \82è\82Ü\82· (AFS bosserver \82É afskill \83R\83}\83\93\83h\82Å SIGQUIT \83V\83O\83i\83\8b\82ð\91\97\90M\82µ\82Ä\82Ý\82Ä\82\82¾\82³\82¢)\81B
+.
+
+MessageId=
+Severity=Warning
+SymbolicName=AFSEVT_SVR_BCS_BOSSERVER_STOP_TIMEOUT
+Language=Japanese
+AFS BOS \90§\8cä\83T\81[\83r\83X\82ª AFS bosserver \82Ì\92â\8e~\91Ò\82¿\82ð\92\86\8e~\82µ\82Ü\82µ\82½\81B\83T\81[\83r\83X\82ð\8dÄ\8en\93®\82·\82é\91O\82É\81A\82·\82×\82Ä\82Ì AFS \83T\81[\83o\81[\81E\83v\83\8d\83Z\83X\82ª\92â\8e~\82µ\82Ä\82¢\82é\82±\82Æ\82ð\8am\82©\82ß\82Ä\82\82¾\82³\82¢\81B
+.
+
+MessageId=
+Severity=Informational
+SymbolicName=AFSEVT_SVR_BCS_BOSSERVER_RESTART
+Language=Japanese
+AFS BOS \90§\8cä\83T\81[\83r\83X\82ª AFS bosserver \82ð\8dÄ\8en\93®\82µ\82Ä\82¢\82Ü\82·\81B
+.
+
+MessageId=
+Severity=Informational
+SymbolicName=AFSEVT_SVR_BCS_BOSSERVER_EXIT
+Language=Japanese
+AFS BOS \90§\8cä\83T\81[\83r\83X\82ª\81AAFS bosserver \82ª\8dÄ\8en\93®\97v\8b\81\82È\82µ\82Å\8fI\97¹\82µ\82½\82±\82Æ\82ð\8c\9f\8fo\82µ\82Ü\82µ\82½\81B
+.
+
+
+
+;
+;#endif /* TRANSARC_AFSEVENT_H */
-;/* Copyright 2000, International Business Machines Corporation and others.\r
-; * All Rights Reserved.\r
-; *\r
-; * This software has been released under the terms of the IBM Public\r
-; * License. For details, see the LICENSE file in the top-level source\r
-; * directory or online at http://www.openafs.org/dl/license10.html\r
-; * event.mc --(mc)--> event.[h|rc] --(logevent.h + event.h)--> afsevent.h\r
-; */\r
-;\r
-;#ifndef TRANSARC_AFSEVENT_H\r
-;#define TRANSARC_AFSEVENT_H\r
-;\r
-;\r
-;/* AFS event.mc format.\r
-; *\r
-; * AFS event messages are grouped by category. The MessageId of the\r
-; * first message in a given category specifies the starting identifier\r
-; * range for that category; the second and later messages in a category\r
-; * do NOT specify a MessageId value and thus receive the value of the\r
-; * previous message plus one.\r
-; *\r
-; * To add a new message to an existing category, append it to the end of\r
-; * that category. To create a new category, provide an appropriate\r
-; * comment line and specify a non-conflicting MessageId for the first\r
-; * message in the new category.\r
-; */\r
-;\r
-\r
-\r
-MessageIdTypedef=unsigned\r
-LanguageNames=(Korean=1:MSG000001)\r
-\r
-;\r
-;/* Test message text */\r
-;\r
-\r
-MessageId=0x0001\r
-Severity=Informational\r
-SymbolicName=AFSEVT_SVR_TEST_MSG_NOARGS\r
-Language=Korean\r
-AFS ¼¹ö À̺¥Æ® ·Î±× °Ë»ç ¸Þ½ÃÁö.\r
-.\r
-\r
-MessageId=\r
-Severity=Warning\r
-SymbolicName=AFSEVT_SVR_TEST_MSG_TWOARGS\r
-Language=Korean\r
-AFS ¼¹ö À̺¥Æ® ·Î±× °Ë»ç ¸Þ½ÃÁö(str1: %1, str2: %2).\r
-.\r
-\r
-\r
-\r
-;\r
-;/* General messages for all AFS server processes */\r
-;\r
-\r
-MessageId=0x0101\r
-Severity=Error\r
-SymbolicName=AFSEVT_SVR_FAILED_ASSERT\r
-Language=Korean\r
-AFS ¼¹ö ÇÁ·Î¼¼½º°¡ ½ÂÀο¡ ½ÇÆÐÇß½À´Ï´Ù: %2 ÆÄÀÏÀÇ %1 Çà.\r
-.\r
-\r
-MessageId=\r
-Severity=Error\r
-SymbolicName=AFSEVT_SVR_NO_INSTALL_DIR\r
-Language=Korean\r
-%1ÀÌ(°¡) AFS ¼ÒÇÁÆ®¿þ¾î ¼³Ä¡ µð·ºÅ丮¸¦ ãÁö ¸øÇß½À´Ï´Ù.\r
-.\r
-\r
-MessageId=\r
-Severity=Error\r
-SymbolicName=AFSEVT_SVR_WINSOCK_INIT_FAILED\r
-Language=Korean\r
-%1ÀÌ(°¡) Windows ¼ÒÄÏ ¶óÀ̺귯¸®¸¦ ÃʱâÈÇÏÁö ¸øÇß½À´Ï´Ù.\r
-.\r
-\r
-\r
-\r
-;\r
-;/* AFS BOS control (startup/shutdown) service messages */\r
-;\r
-\r
-MessageId=0x0201\r
-Severity=Informational\r
-SymbolicName=AFSEVT_SVR_BCS_STARTED\r
-Language=Korean\r
-AFS BOS Á¦¾î ¼ºñ½º°¡ ½ÃÀ۵Ǿú½À´Ï´Ù.\r
-.\r
-\r
-MessageId=\r
-Severity=Informational\r
-SymbolicName=AFSEVT_SVR_BCS_STOPPED\r
-Language=Korean\r
-AFS BOS Á¦¾î ¼ºñ½º°¡ Á¤ÁöµÇ¾ú½À´Ï´Ù.\r
-.\r
-\r
-MessageId=\r
-Severity=Error\r
-SymbolicName=AFSEVT_SVR_BCS_SCM_COMM_FAILED\r
-Language=Korean\r
-AFS BOS Á¦¾î ¼ºñ½º°¡ SCM ½Ã½ºÅÛ°ú Åë½ÅÇÒ ¼ö ¾ø½À´Ï´Ù.\r
-.\r
-\r
-MessageId=\r
-Severity=Error\r
-SymbolicName=AFSEVT_SVR_BCS_HANDLER_REG_FAILED\r
-Language=Korean\r
-AFS BOS Á¦¾î ¼ºñ½º°¡ À̺¥Æ® 󸮱⸦ µî·ÏÇÒ ¼ö ¾ø½À´Ï´Ù.\r
-AFS ¼¹ö ¼ÒÇÁÆ®¿þ¾î°¡ Á¦´ë·Î ±¸¼ºµÇÁö ¾ÊÀº °ÍÀÏ ¼öµµ ÀÖ½À´Ï´Ù.\r
-.\r
-\r
-MessageId=\r
-Severity=Error\r
-SymbolicName=AFSEVT_SVR_BCS_INSUFFICIENT_RESOURCES\r
-Language=Korean\r
-AFS BOS Á¦¾î ¼ºñ½º°¡ ÇÊ¿äÇÑ ½Ã½ºÅÛ ÀÚ¿øÀ» ¾òÀ» ¼ö ¾ø½À´Ï´Ù.\r
-.\r
-\r
-MessageId=\r
-Severity=Error\r
-SymbolicName=AFSEVT_SVR_BCS_INTERNAL_ERROR\r
-Language=Korean\r
-AFS BOS Á¦¾î ¼ºñ½º¿¡ ³»ºÎ ¿À·ù°¡ ¹ß»ýÇß½À´Ï´Ù.\r
-.\r
-\r
-MessageId=\r
-Severity=Error\r
-SymbolicName=AFSEVT_SVR_BCS_NO_INSTALL_DIR\r
-Language=Korean\r
-AFS BOS Á¦¾î ¼ºñ½º°¡ AFS ¼ÒÇÁÆ®¿þ¾î ¼³Ä¡ µð·ºÅ丮¸¦ ãÁö ¸øÇß½À´Ï´Ù.\r
-AFS ¼¹ö ¼ÒÇÁÆ®¿þ¾î°¡ Á¦´ë·Î ±¸¼ºµÇÁö ¾ÊÀº °ÍÀÏ ¼öµµ ÀÖ½À´Ï´Ù.\r
-.\r
-\r
-MessageId=\r
-Severity=Error\r
-SymbolicName=AFSEVT_SVR_BCS_BOSSERVER_START_FAILED\r
-Language=Korean\r
-AFS BOS Á¦¾î ¼ºñ½º°¡ AFS bosserver¸¦ ½ÃÀÛ ¶Ç´Â Àç½ÃÀÛÇÏÁö ¸øÇß½À´Ï´Ù.\r
-.\r
-\r
-MessageId=\r
-Severity=Error\r
-SymbolicName=AFSEVT_SVR_BCS_BOSSERVER_STOP_FAILED\r
-Language=Korean\r
-AFS BOS Á¦¾î ¼ºñ½º°¡ AFS bosserver¸¦ Á¤ÁöÇÏÁö ¸øÇß½À´Ï´Ù.\r
-¸ðµç AFS ¼¹ö ÇÁ·Î¼¼½º¸¦ ¼öµ¿À¸·Î Á¤Áö½ÃÄÑ¾ß ÇÕ´Ï´Ù(afskill ¸í·ÉÀ» ÅëÇØ SIGQUIT ½ÅÈ£¸¦ AFS bosserver·Î º¸³» º¸½Ê½Ã¿À).\r
-.\r
-\r
-MessageId=\r
-Severity=Warning\r
-SymbolicName=AFSEVT_SVR_BCS_BOSSERVER_STOP_TIMEOUT\r
-Language=Korean\r
-AFS BOS Á¦¾î ¼ºñ½º°¡ AFS bosserver°¡ ÁßÁöµÉ ¶§±îÁö ±â´Ù¸®´Â °ÍÀ» Æ÷±âÇß½À´Ï´Ù.\r
-¸ðµç AFS ¼¹ö ÇÁ·Î¼¼½º°¡ ¼ºñ½º¸¦ Àç½ÃÀÛÇϱâ Àü¿¡ Á¤ÁöµÇ¾ú´ÂÁö È®ÀÎÇϽʽÿÀ.\r
-.\r
-\r
-MessageId=\r
-Severity=Informational\r
-SymbolicName=AFSEVT_SVR_BCS_BOSSERVER_RESTART\r
-Language=Korean\r
-AFS BOS Á¦¾î ¼ºñ½º°¡ AFS bosserver¸¦ Àç½ÃÀÛÇϰí ÀÖ½À´Ï´Ù.\r
-.\r
-\r
-MessageId=\r
-Severity=Informational\r
-SymbolicName=AFSEVT_SVR_BCS_BOSSERVER_EXIT\r
-Language=Korean\r
-AFS BOS Á¦¾î ¼ºñ½º°¡ AFS bosserver°¡ Àç½ÃÀÛÀ» ¿äûÇÏÁö ¾Ê°í Á¾·áµÇ¾úÀ½À» °¨ÁöÇß½À´Ï´Ù.\r
-.\r
-\r
-\r
-\r
-;\r
-;#endif /* TRANSARC_AFSEVENT_H */\r
+;/* Copyright 2000, International Business Machines Corporation and others.
+; * All Rights Reserved.
+; *
+; * This software has been released under the terms of the IBM Public
+; * License. For details, see the LICENSE file in the top-level source
+; * directory or online at http://www.openafs.org/dl/license10.html
+; * event.mc --(mc)--> event.[h|rc] --(logevent.h + event.h)--> afsevent.h
+; */
+;
+;#ifndef TRANSARC_AFSEVENT_H
+;#define TRANSARC_AFSEVENT_H
+;
+;
+;/* AFS event.mc format.
+; *
+; * AFS event messages are grouped by category. The MessageId of the
+; * first message in a given category specifies the starting identifier
+; * range for that category; the second and later messages in a category
+; * do NOT specify a MessageId value and thus receive the value of the
+; * previous message plus one.
+; *
+; * To add a new message to an existing category, append it to the end of
+; * that category. To create a new category, provide an appropriate
+; * comment line and specify a non-conflicting MessageId for the first
+; * message in the new category.
+; */
+;
+
+
+MessageIdTypedef=unsigned
+LanguageNames=(Korean=1:MSG000001)
+
+;
+;/* Test message text */
+;
+
+MessageId=0x0001
+Severity=Informational
+SymbolicName=AFSEVT_SVR_TEST_MSG_NOARGS
+Language=Korean
+AFS ¼¹ö À̺¥Æ® ·Î±× °Ë»ç ¸Þ½ÃÁö.
+.
+
+MessageId=
+Severity=Warning
+SymbolicName=AFSEVT_SVR_TEST_MSG_TWOARGS
+Language=Korean
+AFS ¼¹ö À̺¥Æ® ·Î±× °Ë»ç ¸Þ½ÃÁö(str1: %1, str2: %2).
+.
+
+
+
+;
+;/* General messages for all AFS server processes */
+;
+
+MessageId=0x0101
+Severity=Error
+SymbolicName=AFSEVT_SVR_FAILED_ASSERT
+Language=Korean
+AFS ¼¹ö ÇÁ·Î¼¼½º°¡ ½ÂÀο¡ ½ÇÆÐÇß½À´Ï´Ù: %2 ÆÄÀÏÀÇ %1 Çà.
+.
+
+MessageId=
+Severity=Error
+SymbolicName=AFSEVT_SVR_NO_INSTALL_DIR
+Language=Korean
+%1ÀÌ(°¡) AFS ¼ÒÇÁÆ®¿þ¾î ¼³Ä¡ µð·ºÅ丮¸¦ ãÁö ¸øÇß½À´Ï´Ù.
+.
+
+MessageId=
+Severity=Error
+SymbolicName=AFSEVT_SVR_WINSOCK_INIT_FAILED
+Language=Korean
+%1ÀÌ(°¡) Windows ¼ÒÄÏ ¶óÀ̺귯¸®¸¦ ÃʱâÈÇÏÁö ¸øÇß½À´Ï´Ù.
+.
+
+
+
+;
+;/* AFS BOS control (startup/shutdown) service messages */
+;
+
+MessageId=0x0201
+Severity=Informational
+SymbolicName=AFSEVT_SVR_BCS_STARTED
+Language=Korean
+AFS BOS Á¦¾î ¼ºñ½º°¡ ½ÃÀ۵Ǿú½À´Ï´Ù.
+.
+
+MessageId=
+Severity=Informational
+SymbolicName=AFSEVT_SVR_BCS_STOPPED
+Language=Korean
+AFS BOS Á¦¾î ¼ºñ½º°¡ Á¤ÁöµÇ¾ú½À´Ï´Ù.
+.
+
+MessageId=
+Severity=Error
+SymbolicName=AFSEVT_SVR_BCS_SCM_COMM_FAILED
+Language=Korean
+AFS BOS Á¦¾î ¼ºñ½º°¡ SCM ½Ã½ºÅÛ°ú Åë½ÅÇÒ ¼ö ¾ø½À´Ï´Ù.
+.
+
+MessageId=
+Severity=Error
+SymbolicName=AFSEVT_SVR_BCS_HANDLER_REG_FAILED
+Language=Korean
+AFS BOS Á¦¾î ¼ºñ½º°¡ À̺¥Æ® 󸮱⸦ µî·ÏÇÒ ¼ö ¾ø½À´Ï´Ù.
+AFS ¼¹ö ¼ÒÇÁÆ®¿þ¾î°¡ Á¦´ë·Î ±¸¼ºµÇÁö ¾ÊÀº °ÍÀÏ ¼öµµ ÀÖ½À´Ï´Ù.
+.
+
+MessageId=
+Severity=Error
+SymbolicName=AFSEVT_SVR_BCS_INSUFFICIENT_RESOURCES
+Language=Korean
+AFS BOS Á¦¾î ¼ºñ½º°¡ ÇÊ¿äÇÑ ½Ã½ºÅÛ ÀÚ¿øÀ» ¾òÀ» ¼ö ¾ø½À´Ï´Ù.
+.
+
+MessageId=
+Severity=Error
+SymbolicName=AFSEVT_SVR_BCS_INTERNAL_ERROR
+Language=Korean
+AFS BOS Á¦¾î ¼ºñ½º¿¡ ³»ºÎ ¿À·ù°¡ ¹ß»ýÇß½À´Ï´Ù.
+.
+
+MessageId=
+Severity=Error
+SymbolicName=AFSEVT_SVR_BCS_NO_INSTALL_DIR
+Language=Korean
+AFS BOS Á¦¾î ¼ºñ½º°¡ AFS ¼ÒÇÁÆ®¿þ¾î ¼³Ä¡ µð·ºÅ丮¸¦ ãÁö ¸øÇß½À´Ï´Ù.
+AFS ¼¹ö ¼ÒÇÁÆ®¿þ¾î°¡ Á¦´ë·Î ±¸¼ºµÇÁö ¾ÊÀº °ÍÀÏ ¼öµµ ÀÖ½À´Ï´Ù.
+.
+
+MessageId=
+Severity=Error
+SymbolicName=AFSEVT_SVR_BCS_BOSSERVER_START_FAILED
+Language=Korean
+AFS BOS Á¦¾î ¼ºñ½º°¡ AFS bosserver¸¦ ½ÃÀÛ ¶Ç´Â Àç½ÃÀÛÇÏÁö ¸øÇß½À´Ï´Ù.
+.
+
+MessageId=
+Severity=Error
+SymbolicName=AFSEVT_SVR_BCS_BOSSERVER_STOP_FAILED
+Language=Korean
+AFS BOS Á¦¾î ¼ºñ½º°¡ AFS bosserver¸¦ Á¤ÁöÇÏÁö ¸øÇß½À´Ï´Ù.
+¸ðµç AFS ¼¹ö ÇÁ·Î¼¼½º¸¦ ¼öµ¿À¸·Î Á¤Áö½ÃÄÑ¾ß ÇÕ´Ï´Ù(afskill ¸í·ÉÀ» ÅëÇØ SIGQUIT ½ÅÈ£¸¦ AFS bosserver·Î º¸³» º¸½Ê½Ã¿À).
+.
+
+MessageId=
+Severity=Warning
+SymbolicName=AFSEVT_SVR_BCS_BOSSERVER_STOP_TIMEOUT
+Language=Korean
+AFS BOS Á¦¾î ¼ºñ½º°¡ AFS bosserver°¡ ÁßÁöµÉ ¶§±îÁö ±â´Ù¸®´Â °ÍÀ» Æ÷±âÇß½À´Ï´Ù.
+¸ðµç AFS ¼¹ö ÇÁ·Î¼¼½º°¡ ¼ºñ½º¸¦ Àç½ÃÀÛÇϱâ Àü¿¡ Á¤ÁöµÇ¾ú´ÂÁö È®ÀÎÇϽʽÿÀ.
+.
+
+MessageId=
+Severity=Informational
+SymbolicName=AFSEVT_SVR_BCS_BOSSERVER_RESTART
+Language=Korean
+AFS BOS Á¦¾î ¼ºñ½º°¡ AFS bosserver¸¦ Àç½ÃÀÛÇϰí ÀÖ½À´Ï´Ù.
+.
+
+MessageId=
+Severity=Informational
+SymbolicName=AFSEVT_SVR_BCS_BOSSERVER_EXIT
+Language=Korean
+AFS BOS Á¦¾î ¼ºñ½º°¡ AFS bosserver°¡ Àç½ÃÀÛÀ» ¿äûÇÏÁö ¾Ê°í Á¾·áµÇ¾úÀ½À» °¨ÁöÇß½À´Ï´Ù.
+.
+
+
+
+;
+;#endif /* TRANSARC_AFSEVENT_H */
-;/* Copyright 2000, International Business Machines Corporation and others.\r
-; * All Rights Reserved.\r
-; *\r
-; * This software has been released under the terms of the IBM Public\r
-; * License. For details, see the LICENSE file in the top-level source\r
-; * directory or online at http://www.openafs.org/dl/license10.html\r
-; * event.mc --(mc)--> event.[h|rc] --(logevent.h + event.h)--> afsevent.h\r
-; */\r
-;\r
-;#ifndef TRANSARC_AFSEVENT_H\r
-;#define TRANSARC_AFSEVENT_H\r
-;\r
-;\r
-;/* AFS event.mc format.\r
-; *\r
-; * AFS event messages are grouped by category. The MessageId of the\r
-; * first message in a given category specifies the starting identifier\r
-; * range for that category; the second and later messages in a category\r
-; * do NOT specify a MessageId value and thus receive the value of the\r
-; * previous message plus one.\r
-; *\r
-; * To add a new message to an existing category, append it to the end of\r
-; * that category. To create a new category, provide an appropriate\r
-; * comment line and specify a non-conflicting MessageId for the first\r
-; * message in the new category.\r
-; */\r
-;\r
-\r
-\r
-MessageIdTypedef=unsigned\r
-\r
-;\r
-;/* Test message text */\r
-;\r
-\r
-MessageId=0x0001\r
-Severity=Informational\r
-SymbolicName=AFSEVT_SVR_TEST_MSG_NOARGS\r
-Language=English\r
-Mensagem de teste do log de eventos para o servidor de AFS.\r
-.\r
-\r
-MessageId=\r
-Severity=Warning\r
-SymbolicName=AFSEVT_SVR_TEST_MSG_TWOARGS\r
-Language=English\r
-Mensagem de teste do log de eventos para o servidor do AFS (str1: %1, str2: %2).\r
-.\r
-\r
-\r
-\r
-;\r
-;/* General messages for all AFS server processes */\r
-;\r
-\r
-MessageId=0x0101\r
-Severity=Error\r
-SymbolicName=AFSEVT_SVR_FAILED_ASSERT\r
-Language=English\r
-Um processo para o servidor do AFS falhou uma assertiva: linha %1 no arquivo %2.\r
-.\r
-\r
-MessageId=\r
-Severity=Error\r
-SymbolicName=AFSEVT_SVR_NO_INSTALL_DIR\r
-Language=English\r
-%1 não conseguiu localizar o diretório de instalação para o software de AFS.\r
-.\r
-\r
-MessageId=\r
-Severity=Error\r
-SymbolicName=AFSEVT_SVR_WINSOCK_INIT_FAILED\r
-Language=English\r
-%1 não conseguiu inicializar a biblioteca de Sockets Windows.\r
-.\r
-\r
-\r
-\r
-;\r
-;/* AFS BOS control (startup/shutdown) service messages */\r
-;\r
-\r
-MessageId=0x0201\r
-Severity=Informational\r
-SymbolicName=AFSEVT_SVR_BCS_STARTED\r
-Language=English\r
-O serviço de controle BOS do AFS foi iniciado.\r
-.\r
-\r
-MessageId=\r
-Severity=Informational\r
-SymbolicName=AFSEVT_SVR_BCS_STOPPED\r
-Language=English\r
-O serviço de controle BOS do AFS foi interrompido.\r
-.\r
-\r
-MessageId=\r
-Severity=Error\r
-SymbolicName=AFSEVT_SVR_BCS_SCM_COMM_FAILED\r
-Language=English\r
-O serviço de controle BOS do AFS não consegue se comunicar com o SCM do sistema.\r
-.\r
-\r
-MessageId=\r
-Severity=Error\r
-SymbolicName=AFSEVT_SVR_BCS_HANDLER_REG_FAILED\r
-Language=English\r
-O serviço de controle BOS do AFS não consegue registrar um manipulador de eventos. O software do servidor do AFS pode estar configurado incorretamente.\r
-.\r
-\r
-MessageId=\r
-Severity=Error\r
-SymbolicName=AFSEVT_SVR_BCS_INSUFFICIENT_RESOURCES\r
-Language=English\r
-O serviço de controle BOS do AFS não consegue obter recursos necessários do sistema.\r
-.\r
-\r
-MessageId=\r
-Severity=Error\r
-SymbolicName=AFSEVT_SVR_BCS_INTERNAL_ERROR\r
-Language=English\r
-O serviço de controle BOS do AFS sofreu um erro interno.\r
-.\r
-\r
-MessageId=\r
-Severity=Error\r
-SymbolicName=AFSEVT_SVR_BCS_NO_INSTALL_DIR\r
-Language=English\r
-O serviço de controle BOS do AFS não conseguiu localizar o diretório de instalação para o software do AFS. O software do servidor do AFS pode estar configurado incorretamente.\r
-.\r
-\r
-MessageId=\r
-Severity=Error\r
-SymbolicName=AFSEVT_SVR_BCS_BOSSERVER_START_FAILED\r
-Language=English\r
-O serviço de controle BOS do AFS não conseguiu iniciar ou reiniciar o AFS bosserver.\r
-.\r
-\r
-MessageId=\r
-Severity=Error\r
-SymbolicName=AFSEVT_SVR_BCS_BOSSERVER_STOP_FAILED\r
-Language=English\r
-O serviço de controle BOS do AFS não conseguiu interromper o AFS bosserver. Todos os processos para o servidor do AFS precisam ser interrompidos manualmente (tente enviar um sinal SIGQUIT ao AFS bosserver através do comando afskill).\r
-.\r
-\r
-MessageId=\r
-Severity=Warning\r
-SymbolicName=AFSEVT_SVR_BCS_BOSSERVER_STOP_TIMEOUT\r
-Language=English\r
-O serviço de controle BOS do AFS desistiu de aguardar pela parada do AFS bosserver. Verifique que todos os processos para o servidor do AFS tenham parado antes de reiniciar o serviço.\r
-.\r
-\r
-MessageId=\r
-Severity=Informational\r
-SymbolicName=AFSEVT_SVR_BCS_BOSSERVER_RESTART\r
-Language=English\r
-O serviço de controle BOS do AFS está reiniciando o AFS bosserver.\r
-.\r
-\r
-MessageId=\r
-Severity=Informational\r
-SymbolicName=AFSEVT_SVR_BCS_BOSSERVER_EXIT\r
-Language=English\r
-O serviço de controle BOS do AFS detectou que o AFS bosserver saiu sem pedir um reinício.\r
-.\r
-\r
-\r
-\r
-;\r
-;#endif /* TRANSARC_AFSEVENT_H */\r
+;/* Copyright 2000, International Business Machines Corporation and others.
+; * All Rights Reserved.
+; *
+; * This software has been released under the terms of the IBM Public
+; * License. For details, see the LICENSE file in the top-level source
+; * directory or online at http://www.openafs.org/dl/license10.html
+; * event.mc --(mc)--> event.[h|rc] --(logevent.h + event.h)--> afsevent.h
+; */
+;
+;#ifndef TRANSARC_AFSEVENT_H
+;#define TRANSARC_AFSEVENT_H
+;
+;
+;/* AFS event.mc format.
+; *
+; * AFS event messages are grouped by category. The MessageId of the
+; * first message in a given category specifies the starting identifier
+; * range for that category; the second and later messages in a category
+; * do NOT specify a MessageId value and thus receive the value of the
+; * previous message plus one.
+; *
+; * To add a new message to an existing category, append it to the end of
+; * that category. To create a new category, provide an appropriate
+; * comment line and specify a non-conflicting MessageId for the first
+; * message in the new category.
+; */
+;
+
+
+MessageIdTypedef=unsigned
+
+;
+;/* Test message text */
+;
+
+MessageId=0x0001
+Severity=Informational
+SymbolicName=AFSEVT_SVR_TEST_MSG_NOARGS
+Language=English
+Mensagem de teste do log de eventos para o servidor de AFS.
+.
+
+MessageId=
+Severity=Warning
+SymbolicName=AFSEVT_SVR_TEST_MSG_TWOARGS
+Language=English
+Mensagem de teste do log de eventos para o servidor do AFS (str1: %1, str2: %2).
+.
+
+
+
+;
+;/* General messages for all AFS server processes */
+;
+
+MessageId=0x0101
+Severity=Error
+SymbolicName=AFSEVT_SVR_FAILED_ASSERT
+Language=English
+Um processo para o servidor do AFS falhou uma assertiva: linha %1 no arquivo %2.
+.
+
+MessageId=
+Severity=Error
+SymbolicName=AFSEVT_SVR_NO_INSTALL_DIR
+Language=English
+%1 não conseguiu localizar o diretório de instalação para o software de AFS.
+.
+
+MessageId=
+Severity=Error
+SymbolicName=AFSEVT_SVR_WINSOCK_INIT_FAILED
+Language=English
+%1 não conseguiu inicializar a biblioteca de Sockets Windows.
+.
+
+
+
+;
+;/* AFS BOS control (startup/shutdown) service messages */
+;
+
+MessageId=0x0201
+Severity=Informational
+SymbolicName=AFSEVT_SVR_BCS_STARTED
+Language=English
+O serviço de controle BOS do AFS foi iniciado.
+.
+
+MessageId=
+Severity=Informational
+SymbolicName=AFSEVT_SVR_BCS_STOPPED
+Language=English
+O serviço de controle BOS do AFS foi interrompido.
+.
+
+MessageId=
+Severity=Error
+SymbolicName=AFSEVT_SVR_BCS_SCM_COMM_FAILED
+Language=English
+O serviço de controle BOS do AFS não consegue se comunicar com o SCM do sistema.
+.
+
+MessageId=
+Severity=Error
+SymbolicName=AFSEVT_SVR_BCS_HANDLER_REG_FAILED
+Language=English
+O serviço de controle BOS do AFS não consegue registrar um manipulador de eventos. O software do servidor do AFS pode estar configurado incorretamente.
+.
+
+MessageId=
+Severity=Error
+SymbolicName=AFSEVT_SVR_BCS_INSUFFICIENT_RESOURCES
+Language=English
+O serviço de controle BOS do AFS não consegue obter recursos necessários do sistema.
+.
+
+MessageId=
+Severity=Error
+SymbolicName=AFSEVT_SVR_BCS_INTERNAL_ERROR
+Language=English
+O serviço de controle BOS do AFS sofreu um erro interno.
+.
+
+MessageId=
+Severity=Error
+SymbolicName=AFSEVT_SVR_BCS_NO_INSTALL_DIR
+Language=English
+O serviço de controle BOS do AFS não conseguiu localizar o diretório de instalação para o software do AFS. O software do servidor do AFS pode estar configurado incorretamente.
+.
+
+MessageId=
+Severity=Error
+SymbolicName=AFSEVT_SVR_BCS_BOSSERVER_START_FAILED
+Language=English
+O serviço de controle BOS do AFS não conseguiu iniciar ou reiniciar o AFS bosserver.
+.
+
+MessageId=
+Severity=Error
+SymbolicName=AFSEVT_SVR_BCS_BOSSERVER_STOP_FAILED
+Language=English
+O serviço de controle BOS do AFS não conseguiu interromper o AFS bosserver. Todos os processos para o servidor do AFS precisam ser interrompidos manualmente (tente enviar um sinal SIGQUIT ao AFS bosserver através do comando afskill).
+.
+
+MessageId=
+Severity=Warning
+SymbolicName=AFSEVT_SVR_BCS_BOSSERVER_STOP_TIMEOUT
+Language=English
+O serviço de controle BOS do AFS desistiu de aguardar pela parada do AFS bosserver. Verifique que todos os processos para o servidor do AFS tenham parado antes de reiniciar o serviço.
+.
+
+MessageId=
+Severity=Informational
+SymbolicName=AFSEVT_SVR_BCS_BOSSERVER_RESTART
+Language=English
+O serviço de controle BOS do AFS está reiniciando o AFS bosserver.
+.
+
+MessageId=
+Severity=Informational
+SymbolicName=AFSEVT_SVR_BCS_BOSSERVER_EXIT
+Language=English
+O serviço de controle BOS do AFS detectou que o AFS bosserver saiu sem pedir um reinício.
+.
+
+
+
+;
+;#endif /* TRANSARC_AFSEVENT_H */
-;/* Copyright 2000, International Business Machines Corporation and others.\r
-; * All Rights Reserved.\r
-; *\r
-; * This software has been released under the terms of the IBM Public\r
-; * License. For details, see the LICENSE file in the top-level source\r
-; * directory or online at http://www.openafs.org/dl/license10.html\r
-; * event.mc --(mc)--> event.[h|rc] --(logevent.h + event.h)--> afsevent.h\r
-; */\r
-;\r
-;#ifndef TRANSARC_AFSEVENT_H\r
-;#define TRANSARC_AFSEVENT_H\r
-;\r
-;\r
-;/* AFS event.mc format.\r
-; *\r
-; * AFS event messages are grouped by category. The MessageId of the\r
-; * first message in a given category specifies the starting identifier\r
-; * range for that category; the second and later messages in a category\r
-; * do NOT specify a MessageId value and thus receive the value of the\r
-; * previous message plus one.\r
-; *\r
-; * To add a new message to an existing category, append it to the end of\r
-; * that category. To create a new category, provide an appropriate\r
-; * comment line and specify a non-conflicting MessageId for the first\r
-; * message in the new category.\r
-; */\r
-;\r
-\r
-\r
-MessageIdTypedef=unsigned\r
-\r
-;\r
-;/* Test message text */\r
-;\r
-\r
-MessageId=0x0001\r
-Severity=Informational\r
-SymbolicName=AFSEVT_SVR_TEST_MSG_NOARGS\r
-Language=English\r
-AFS ·þÎñÆ÷ʼþÈÕÖ¾²âÊÔÏûÏ¢¡£\r
-.\r
-\r
-MessageId=\r
-Severity=Warning\r
-SymbolicName=AFSEVT_SVR_TEST_MSG_TWOARGS\r
-Language=English\r
-AFS ·þÎñÆ÷ʼþÈÕÖ¾²âÊÔÏûÏ¢(str1: %1£¬ str2: %2)¡£\r
-.\r
-\r
-\r
-\r
-;\r
-;/* General messages for all AFS server processes */\r
-;\r
-\r
-MessageId=0x0101\r
-Severity=Error\r
-SymbolicName=AFSEVT_SVR_FAILED_ASSERT\r
-Language=English\r
-AFS ·þÎñÆ÷½ø³Ìʧ°Ü£ºÎļþ %2 µÄÐÐ %1¡£\r
-.\r
-\r
-MessageId=\r
-Severity=Error\r
-SymbolicName=AFSEVT_SVR_NO_INSTALL_DIR\r
-Language=English\r
-%1 ¶¨Î» AFS Èí¼þ°²×°Ä¿Â¼Ê§°Ü¡£\r
-.\r
-\r
-MessageId=\r
-Severity=Error\r
-SymbolicName=AFSEVT_SVR_WINSOCK_INIT_FAILED\r
-Language=English\r
-%1 ³õʼ»¯ Windows Ì×½Ó×Ö¿âʧ°Ü¡£\r
-.\r
-\r
-\r
-\r
-;\r
-;/* AFS BOS control (startup/shutdown) service messages */\r
-;\r
-\r
-MessageId=0x0201\r
-Severity=Informational\r
-SymbolicName=AFSEVT_SVR_BCS_STARTED\r
-Language=English\r
-AFS BOS ¿ØÖÆ·þÎñÒÑÆô¶¯¡£\r
-.\r
-\r
-MessageId=\r
-Severity=Informational\r
-SymbolicName=AFSEVT_SVR_BCS_STOPPED\r
-Language=English\r
-AFS BOS ¿ØÖÆ·þÎñÒÑÍ£Ö¹¡£\r
-.\r
-\r
-MessageId=\r
-Severity=Error\r
-SymbolicName=AFSEVT_SVR_BCS_SCM_COMM_FAILED\r
-Language=English\r
-AFS BOS ¿ØÖÆ·þÎñÎÞ·¨Óëϵͳ SCM ͨÐÅ¡£\r
-.\r
-\r
-MessageId=\r
-Severity=Error\r
-SymbolicName=AFSEVT_SVR_BCS_HANDLER_REG_FAILED\r
-Language=English\r
-AFS BOS ¿ØÖÆ·þÎñÎÞ·¨×¢²áʼþ´¦ÀíÆ÷¡£\r
-AFS ·þÎñÆ÷Èí¼þ¿ÉÄÜδÕýÈ·ÅäÖá£\r
-.\r
-\r
-MessageId=\r
-Severity=Error\r
-SymbolicName=AFSEVT_SVR_BCS_INSUFFICIENT_RESOURCES\r
-Language=English\r
-AFS BOS ¿ØÖÆ·þÎñÎÞ·¨»ñµÃ±ØÐëµÄϵͳ×ÊÔ´¡£\r
-.\r
-\r
-MessageId=\r
-Severity=Error\r
-SymbolicName=AFSEVT_SVR_BCS_INTERNAL_ERROR\r
-Language=English\r
-AFS BOS ¿ØÖÆ·þÎñ·¢ÏÖÒ»¸öÄÚ²¿´íÎó¡£\r
-.\r
-\r
-MessageId=\r
-Severity=Error\r
-SymbolicName=AFSEVT_SVR_BCS_NO_INSTALL_DIR\r
-Language=English\r
-AFS BOS ¿ØÖÆ·þÎñ¶¨Î» AFS Èí¼þ°²×°Ä¿Â¼Ê§°Ü¡£AFS ·þÎñÆ÷Èí¼þ¿ÉÄÜδÕýÈ·ÅäÖá£\r
-.\r
-\r
-MessageId=\r
-Severity=Error\r
-SymbolicName=AFSEVT_SVR_BCS_BOSSERVER_START_FAILED\r
-Language=English\r
-AFS BOS ¿ØÖÆ·þÎñÆô¶¯»òÖØÐÂÆô¶¯ AFS bosserver ʧ°Ü¡£\r
-.\r
-\r
-MessageId=\r
-Severity=Error\r
-SymbolicName=AFSEVT_SVR_BCS_BOSSERVER_STOP_FAILED\r
-Language=English\r
-AFS BOS ¿ØÖÆ·þÎñÍ£Ö¹ AFS bosserver ʧ°Ü¡£ËùÓÐ AFS ·þÎñÆ÷½ø³Ì±ØÐë\r
-ÊÖ¹¤Í£Ö¹(ͨ¹ý afskill ÃüÁîÏò AFS bosserver ·¢ËÍ SIGQUIT ÐźÅ)¡£\r
-.\r
-\r
-MessageId=\r
-Severity=Warning\r
-SymbolicName=AFSEVT_SVR_BCS_BOSSERVER_STOP_TIMEOUT\r
-Language=English\r
-AFS BOS ¿ØÖÆ·þÎñ·ÅÆúµÈ´ý AFS bosserver µÄÍ£Ö¹¡£ÔÚÖØÐÂÆô¶¯·þÎñǰ¼ì²éËùÓÐ AFS ·þÎñÆ÷½ø³ÌÊÇ·ñÒÑÍ£Ö¹¡£\r
-.\r
-\r
-MessageId=\r
-Severity=Informational\r
-SymbolicName=AFSEVT_SVR_BCS_BOSSERVER_RESTART\r
-Language=English\r
-AFS BOS ¿ØÖÆ·þÎñÕýÔÚÖØÐÂÆô¶¯ AFS bosserver¡£\r
-.\r
-\r
-MessageId=\r
-Severity=Informational\r
-SymbolicName=AFSEVT_SVR_BCS_BOSSERVER_EXIT\r
-Language=English\r
-AFS BOS ¿ØÖÆ·þÎñÕì²âµ½ AFS bosserver ûÓÐÇëÇóÖØÐÂÆô¶¯¶øÒÑÍ˳ö¡£\r
-.\r
-\r
-\r
-\r
-;\r
-;#endif /* TRANSARC_AFSEVENT_H */\r
+;/* Copyright 2000, International Business Machines Corporation and others.
+; * All Rights Reserved.
+; *
+; * This software has been released under the terms of the IBM Public
+; * License. For details, see the LICENSE file in the top-level source
+; * directory or online at http://www.openafs.org/dl/license10.html
+; * event.mc --(mc)--> event.[h|rc] --(logevent.h + event.h)--> afsevent.h
+; */
+;
+;#ifndef TRANSARC_AFSEVENT_H
+;#define TRANSARC_AFSEVENT_H
+;
+;
+;/* AFS event.mc format.
+; *
+; * AFS event messages are grouped by category. The MessageId of the
+; * first message in a given category specifies the starting identifier
+; * range for that category; the second and later messages in a category
+; * do NOT specify a MessageId value and thus receive the value of the
+; * previous message plus one.
+; *
+; * To add a new message to an existing category, append it to the end of
+; * that category. To create a new category, provide an appropriate
+; * comment line and specify a non-conflicting MessageId for the first
+; * message in the new category.
+; */
+;
+
+
+MessageIdTypedef=unsigned
+
+;
+;/* Test message text */
+;
+
+MessageId=0x0001
+Severity=Informational
+SymbolicName=AFSEVT_SVR_TEST_MSG_NOARGS
+Language=English
+AFS ·þÎñÆ÷ʼþÈÕÖ¾²âÊÔÏûÏ¢¡£
+.
+
+MessageId=
+Severity=Warning
+SymbolicName=AFSEVT_SVR_TEST_MSG_TWOARGS
+Language=English
+AFS ·þÎñÆ÷ʼþÈÕÖ¾²âÊÔÏûÏ¢(str1: %1£¬ str2: %2)¡£
+.
+
+
+
+;
+;/* General messages for all AFS server processes */
+;
+
+MessageId=0x0101
+Severity=Error
+SymbolicName=AFSEVT_SVR_FAILED_ASSERT
+Language=English
+AFS ·þÎñÆ÷½ø³Ìʧ°Ü£ºÎļþ %2 µÄÐÐ %1¡£
+.
+
+MessageId=
+Severity=Error
+SymbolicName=AFSEVT_SVR_NO_INSTALL_DIR
+Language=English
+%1 ¶¨Î» AFS Èí¼þ°²×°Ä¿Â¼Ê§°Ü¡£
+.
+
+MessageId=
+Severity=Error
+SymbolicName=AFSEVT_SVR_WINSOCK_INIT_FAILED
+Language=English
+%1 ³õʼ»¯ Windows Ì×½Ó×Ö¿âʧ°Ü¡£
+.
+
+
+
+;
+;/* AFS BOS control (startup/shutdown) service messages */
+;
+
+MessageId=0x0201
+Severity=Informational
+SymbolicName=AFSEVT_SVR_BCS_STARTED
+Language=English
+AFS BOS ¿ØÖÆ·þÎñÒÑÆô¶¯¡£
+.
+
+MessageId=
+Severity=Informational
+SymbolicName=AFSEVT_SVR_BCS_STOPPED
+Language=English
+AFS BOS ¿ØÖÆ·þÎñÒÑÍ£Ö¹¡£
+.
+
+MessageId=
+Severity=Error
+SymbolicName=AFSEVT_SVR_BCS_SCM_COMM_FAILED
+Language=English
+AFS BOS ¿ØÖÆ·þÎñÎÞ·¨Óëϵͳ SCM ͨÐÅ¡£
+.
+
+MessageId=
+Severity=Error
+SymbolicName=AFSEVT_SVR_BCS_HANDLER_REG_FAILED
+Language=English
+AFS BOS ¿ØÖÆ·þÎñÎÞ·¨×¢²áʼþ´¦ÀíÆ÷¡£
+AFS ·þÎñÆ÷Èí¼þ¿ÉÄÜδÕýÈ·ÅäÖá£
+.
+
+MessageId=
+Severity=Error
+SymbolicName=AFSEVT_SVR_BCS_INSUFFICIENT_RESOURCES
+Language=English
+AFS BOS ¿ØÖÆ·þÎñÎÞ·¨»ñµÃ±ØÐëµÄϵͳ×ÊÔ´¡£
+.
+
+MessageId=
+Severity=Error
+SymbolicName=AFSEVT_SVR_BCS_INTERNAL_ERROR
+Language=English
+AFS BOS ¿ØÖÆ·þÎñ·¢ÏÖÒ»¸öÄÚ²¿´íÎó¡£
+.
+
+MessageId=
+Severity=Error
+SymbolicName=AFSEVT_SVR_BCS_NO_INSTALL_DIR
+Language=English
+AFS BOS ¿ØÖÆ·þÎñ¶¨Î» AFS Èí¼þ°²×°Ä¿Â¼Ê§°Ü¡£AFS ·þÎñÆ÷Èí¼þ¿ÉÄÜδÕýÈ·ÅäÖá£
+.
+
+MessageId=
+Severity=Error
+SymbolicName=AFSEVT_SVR_BCS_BOSSERVER_START_FAILED
+Language=English
+AFS BOS ¿ØÖÆ·þÎñÆô¶¯»òÖØÐÂÆô¶¯ AFS bosserver ʧ°Ü¡£
+.
+
+MessageId=
+Severity=Error
+SymbolicName=AFSEVT_SVR_BCS_BOSSERVER_STOP_FAILED
+Language=English
+AFS BOS ¿ØÖÆ·þÎñÍ£Ö¹ AFS bosserver ʧ°Ü¡£ËùÓÐ AFS ·þÎñÆ÷½ø³Ì±ØÐë
+ÊÖ¹¤Í£Ö¹(ͨ¹ý afskill ÃüÁîÏò AFS bosserver ·¢ËÍ SIGQUIT ÐźÅ)¡£
+.
+
+MessageId=
+Severity=Warning
+SymbolicName=AFSEVT_SVR_BCS_BOSSERVER_STOP_TIMEOUT
+Language=English
+AFS BOS ¿ØÖÆ·þÎñ·ÅÆúµÈ´ý AFS bosserver µÄÍ£Ö¹¡£ÔÚÖØÐÂÆô¶¯·þÎñǰ¼ì²éËùÓÐ AFS ·þÎñÆ÷½ø³ÌÊÇ·ñÒÑÍ£Ö¹¡£
+.
+
+MessageId=
+Severity=Informational
+SymbolicName=AFSEVT_SVR_BCS_BOSSERVER_RESTART
+Language=English
+AFS BOS ¿ØÖÆ·þÎñÕýÔÚÖØÐÂÆô¶¯ AFS bosserver¡£
+.
+
+MessageId=
+Severity=Informational
+SymbolicName=AFSEVT_SVR_BCS_BOSSERVER_EXIT
+Language=English
+AFS BOS ¿ØÖÆ·þÎñÕì²âµ½ AFS bosserver ûÓÐÇëÇóÖØÐÂÆô¶¯¶øÒÑÍ˳ö¡£
+.
+
+
+
+;
+;#endif /* TRANSARC_AFSEVENT_H */
-;/* Copyright 2000, International Business Machines Corporation and others.\r
-; * All Rights Reserved.\r
-; *\r
-; * This software has been released under the terms of the IBM Public\r
-; * License. For details, see the LICENSE file in the top-level source\r
-; * directory or online at http://www.openafs.org/dl/license10.html\r
-; * event.mc --(mc)--> event.[h|rc] --(logevent.h + event.h)--> afsevent.h\r
-; */\r
-;\r
-;#ifndef TRANSARC_AFSEVENT_H\r
-;#define TRANSARC_AFSEVENT_H\r
-;\r
-;\r
-;/* AFS event.mc format.\r
-; *\r
-; * AFS event messages are grouped by category. The MessageId of the\r
-; * first message in a given category specifies the starting identifier\r
-; * range for that category; the second and later messages in a category\r
-; * do NOT specify a MessageId value and thus receive the value of the\r
-; * previous message plus one.\r
-; *\r
-; * To add a new message to an existing category, append it to the end of\r
-; * that category. To create a new category, provide an appropriate\r
-; * comment line and specify a non-conflicting MessageId for the first\r
-; * message in the new category.\r
-; */\r
-;\r
-\r
-\r
-MessageIdTypedef=unsigned\r
-LanguageNames=(Chinese_Traditional=1:MSG000001)\r
-\r
-;\r
-;/* Test message text */\r
-;\r
-\r
-MessageId=0x0001\r
-Severity=Informational\r
-SymbolicName=AFSEVT_SVR_TEST_MSG_NOARGS\r
-Language=Chinese_Traditional\r
-AFS ¦øªA¾¹¨Æ¥ó¤é»x´ú¸Õ°T®§¡C\r
-.\r
-\r
-MessageId=\r
-Severity=Warning\r
-SymbolicName=AFSEVT_SVR_TEST_MSG_TWOARGS\r
-Language=Chinese_Traditional\r
-AFS ¦øªA¾¹¨Æ¥ó¤é»x´ú¸Õ°T®§ (str1: %1, str2: %2)¡C\r
-.\r
-\r
-\r
-\r
-;\r
-;/* General messages for all AFS server processes */\r
-;\r
-\r
-MessageId=0x0101\r
-Severity=Error\r
-SymbolicName=AFSEVT_SVR_FAILED_ASSERT\r
-Language=Chinese_Traditional\r
-AFS ¦øªA¾¹³B²z¥¢®Ä½T»{¡G¦bÀÉ®× %2 ªº²Ä %1 ¦æ¡C\r
-.\r
-\r
-MessageId=\r
-Severity=Error\r
-SymbolicName=AFSEVT_SVR_NO_INSTALL_DIR\r
-Language=Chinese_Traditional\r
-%1 µLªk§ä¨ì AFS ³nÅé¦w¸Ë¥Ø¿ý¡C\r
-.\r
-\r
-MessageId=\r
-Severity=Error\r
-SymbolicName=AFSEVT_SVR_WINSOCK_INIT_FAILED\r
-Language=Chinese_Traditional\r
-%1 µLªk°_©l³]©w Windows Sockets µ{¦¡®w¡C\r
-.\r
-\r
-\r
-\r
-;\r
-;/* AFS BOS control (startup/shutdown) service messages */\r
-;\r
-\r
-MessageId=0x0201\r
-Severity=Informational\r
-SymbolicName=AFSEVT_SVR_BCS_STARTED\r
-Language=Chinese_Traditional\r
-¤w±Ò°Ê AFS BOS ±±¨îªA°È¡C\r
-.\r
-\r
-MessageId=\r
-Severity=Informational\r
-SymbolicName=AFSEVT_SVR_BCS_STOPPED\r
-Language=Chinese_Traditional\r
-¤w°±¤î AFS BOS ±±¨îªA°È¡C\r
-.\r
-\r
-MessageId=\r
-Severity=Error\r
-SymbolicName=AFSEVT_SVR_BCS_SCM_COMM_FAILED\r
-Language=Chinese_Traditional\r
-AFS BOS ±±¨îªA°ÈµLªk»P¨t²Î SCM ³q«H¡C\r
-.\r
-\r
-MessageId=\r
-Severity=Error\r
-SymbolicName=AFSEVT_SVR_BCS_HANDLER_REG_FAILED\r
-Language=Chinese_Traditional\r
-AFS BOS ±±¨îªA°ÈµLªkµn¿ý¨Æ¥ó³B²z±`¦¡¡CAFS ¦øªA¾¹³nÅ骺¬[ºc¥i¯à¤£¥¿½T¡C\r
-.\r
-\r
-MessageId=\r
-Severity=Error\r
-SymbolicName=AFSEVT_SVR_BCS_INSUFFICIENT_RESOURCES\r
-Language=Chinese_Traditional\r
-AFS BOS ±±¨îªA°ÈµLªk¨ú±o¥²nªº¨t²Î¸ê·½¡C\r
-.\r
-\r
-MessageId=\r
-Severity=Error\r
-SymbolicName=AFSEVT_SVR_BCS_INTERNAL_ERROR\r
-Language=Chinese_Traditional\r
-AFS BOS ±±¨îªA°Èµo¥Í¤º³¡¿ù»~¡C\r
-.\r
-\r
-MessageId=\r
-Severity=Error\r
-SymbolicName=AFSEVT_SVR_BCS_NO_INSTALL_DIR\r
-Language=Chinese_Traditional\r
-AFS BOS ±±¨îªA°ÈµLªk§ä¨ì AFS ³nÅé¦w¸Ë¥Ø¿ý¡CAFS ¦øªA¾¹³nÅ骺¬[ºc¥i¯à¤£¥¿½T¡C\r
-.\r
-\r
-MessageId=\r
-Severity=Error\r
-SymbolicName=AFSEVT_SVR_BCS_BOSSERVER_START_FAILED\r
-Language=Chinese_Traditional\r
-AFS BOS ±±¨îªA°ÈµLªk±Ò°Ê©Î«·s±Ò°Ê AFS ¥D¦øªA¾¹¡C\r
-.\r
-\r
-MessageId=\r
-Severity=Error\r
-SymbolicName=AFSEVT_SVR_BCS_BOSSERVER_STOP_FAILED\r
-Language=Chinese_Traditional\r
-AFS BOS ±±¨îªA°ÈµLªk°±¤î AFS ¥D¦øªA¾¹¡C©Ò¦³ªº AFS ¦øªA¾¹³B²z³£¥²¶·¥H¤â°Ê¤è¦¡°±¤î\r
-¡]¸ÕµÛ³z¹L fskill «ü¥O¶Ç°e SIGQUIT °T¸¹¨ì AFS ¥D¦øªA¾¹¡^¡C\r
-.\r
-\r
-MessageId=\r
-Severity=Warning\r
-SymbolicName=AFSEVT_SVR_BCS_BOSSERVER_STOP_TIMEOUT\r
-Language=Chinese_Traditional\r
-AFS BOS ±±¨îªA°È©ñ±óµ¥Ô AFS ¥D¦øªA¾¹°±¤î¡C½ÐÀˬd©Ò¦³ AFS ¦øªA¾¹³B²z³£¤w¦b«·s±Ò°ÊªA°È¤§«e°±¤î¡C\r
-.\r
-\r
-MessageId=\r
-Severity=Informational\r
-SymbolicName=AFSEVT_SVR_BCS_BOSSERVER_RESTART\r
-Language=Chinese_Traditional\r
-AFS BOS ±±¨îªA°È¥¿¦b«·s±Ò°Ê AFS ¥D¦øªA¾¹¡C\r
-.\r
-\r
-MessageId=\r
-Severity=Informational\r
-SymbolicName=AFSEVT_SVR_BCS_BOSSERVER_EXIT\r
-Language=Chinese_Traditional\r
-AFS BOS ±±¨îªA°È°»´ú¨ì AFS ¥D¦øªA¾¹µ²§ô¡A¨Ã¥B¥¼n¨D«·s±Ò°Ê¡C\r
-.\r
-\r
-\r
-\r
-;\r
-;#endif /* TRANSARC_AFSEVENT_H */\r
+;/* Copyright 2000, International Business Machines Corporation and others.
+; * All Rights Reserved.
+; *
+; * This software has been released under the terms of the IBM Public
+; * License. For details, see the LICENSE file in the top-level source
+; * directory or online at http://www.openafs.org/dl/license10.html
+; * event.mc --(mc)--> event.[h|rc] --(logevent.h + event.h)--> afsevent.h
+; */
+;
+;#ifndef TRANSARC_AFSEVENT_H
+;#define TRANSARC_AFSEVENT_H
+;
+;
+;/* AFS event.mc format.
+; *
+; * AFS event messages are grouped by category. The MessageId of the
+; * first message in a given category specifies the starting identifier
+; * range for that category; the second and later messages in a category
+; * do NOT specify a MessageId value and thus receive the value of the
+; * previous message plus one.
+; *
+; * To add a new message to an existing category, append it to the end of
+; * that category. To create a new category, provide an appropriate
+; * comment line and specify a non-conflicting MessageId for the first
+; * message in the new category.
+; */
+;
+
+
+MessageIdTypedef=unsigned
+LanguageNames=(Chinese_Traditional=1:MSG000001)
+
+;
+;/* Test message text */
+;
+
+MessageId=0x0001
+Severity=Informational
+SymbolicName=AFSEVT_SVR_TEST_MSG_NOARGS
+Language=Chinese_Traditional
+AFS ¦øªA¾¹¨Æ¥ó¤é»x´ú¸Õ°T®§¡C
+.
+
+MessageId=
+Severity=Warning
+SymbolicName=AFSEVT_SVR_TEST_MSG_TWOARGS
+Language=Chinese_Traditional
+AFS ¦øªA¾¹¨Æ¥ó¤é»x´ú¸Õ°T®§ (str1: %1, str2: %2)¡C
+.
+
+
+
+;
+;/* General messages for all AFS server processes */
+;
+
+MessageId=0x0101
+Severity=Error
+SymbolicName=AFSEVT_SVR_FAILED_ASSERT
+Language=Chinese_Traditional
+AFS ¦øªA¾¹³B²z¥¢®Ä½T»{¡G¦bÀÉ®× %2 ªº²Ä %1 ¦æ¡C
+.
+
+MessageId=
+Severity=Error
+SymbolicName=AFSEVT_SVR_NO_INSTALL_DIR
+Language=Chinese_Traditional
+%1 µLªk§ä¨ì AFS ³nÅé¦w¸Ë¥Ø¿ý¡C
+.
+
+MessageId=
+Severity=Error
+SymbolicName=AFSEVT_SVR_WINSOCK_INIT_FAILED
+Language=Chinese_Traditional
+%1 µLªk°_©l³]©w Windows Sockets µ{¦¡®w¡C
+.
+
+
+
+;
+;/* AFS BOS control (startup/shutdown) service messages */
+;
+
+MessageId=0x0201
+Severity=Informational
+SymbolicName=AFSEVT_SVR_BCS_STARTED
+Language=Chinese_Traditional
+¤w±Ò°Ê AFS BOS ±±¨îªA°È¡C
+.
+
+MessageId=
+Severity=Informational
+SymbolicName=AFSEVT_SVR_BCS_STOPPED
+Language=Chinese_Traditional
+¤w°±¤î AFS BOS ±±¨îªA°È¡C
+.
+
+MessageId=
+Severity=Error
+SymbolicName=AFSEVT_SVR_BCS_SCM_COMM_FAILED
+Language=Chinese_Traditional
+AFS BOS ±±¨îªA°ÈµLªk»P¨t²Î SCM ³q«H¡C
+.
+
+MessageId=
+Severity=Error
+SymbolicName=AFSEVT_SVR_BCS_HANDLER_REG_FAILED
+Language=Chinese_Traditional
+AFS BOS ±±¨îªA°ÈµLªkµn¿ý¨Æ¥ó³B²z±`¦¡¡CAFS ¦øªA¾¹³nÅ骺¬[ºc¥i¯à¤£¥¿½T¡C
+.
+
+MessageId=
+Severity=Error
+SymbolicName=AFSEVT_SVR_BCS_INSUFFICIENT_RESOURCES
+Language=Chinese_Traditional
+AFS BOS ±±¨îªA°ÈµLªk¨ú±o¥²nªº¨t²Î¸ê·½¡C
+.
+
+MessageId=
+Severity=Error
+SymbolicName=AFSEVT_SVR_BCS_INTERNAL_ERROR
+Language=Chinese_Traditional
+AFS BOS ±±¨îªA°Èµo¥Í¤º³¡¿ù»~¡C
+.
+
+MessageId=
+Severity=Error
+SymbolicName=AFSEVT_SVR_BCS_NO_INSTALL_DIR
+Language=Chinese_Traditional
+AFS BOS ±±¨îªA°ÈµLªk§ä¨ì AFS ³nÅé¦w¸Ë¥Ø¿ý¡CAFS ¦øªA¾¹³nÅ骺¬[ºc¥i¯à¤£¥¿½T¡C
+.
+
+MessageId=
+Severity=Error
+SymbolicName=AFSEVT_SVR_BCS_BOSSERVER_START_FAILED
+Language=Chinese_Traditional
+AFS BOS ±±¨îªA°ÈµLªk±Ò°Ê©Î«·s±Ò°Ê AFS ¥D¦øªA¾¹¡C
+.
+
+MessageId=
+Severity=Error
+SymbolicName=AFSEVT_SVR_BCS_BOSSERVER_STOP_FAILED
+Language=Chinese_Traditional
+AFS BOS ±±¨îªA°ÈµLªk°±¤î AFS ¥D¦øªA¾¹¡C©Ò¦³ªº AFS ¦øªA¾¹³B²z³£¥²¶·¥H¤â°Ê¤è¦¡°±¤î
+¡]¸ÕµÛ³z¹L fskill «ü¥O¶Ç°e SIGQUIT °T¸¹¨ì AFS ¥D¦øªA¾¹¡^¡C
+.
+
+MessageId=
+Severity=Warning
+SymbolicName=AFSEVT_SVR_BCS_BOSSERVER_STOP_TIMEOUT
+Language=Chinese_Traditional
+AFS BOS ±±¨îªA°È©ñ±óµ¥Ô AFS ¥D¦øªA¾¹°±¤î¡C½ÐÀˬd©Ò¦³ AFS ¦øªA¾¹³B²z³£¤w¦b«·s±Ò°ÊªA°È¤§«e°±¤î¡C
+.
+
+MessageId=
+Severity=Informational
+SymbolicName=AFSEVT_SVR_BCS_BOSSERVER_RESTART
+Language=Chinese_Traditional
+AFS BOS ±±¨îªA°È¥¿¦b«·s±Ò°Ê AFS ¥D¦øªA¾¹¡C
+.
+
+MessageId=
+Severity=Informational
+SymbolicName=AFSEVT_SVR_BCS_BOSSERVER_EXIT
+Language=Chinese_Traditional
+AFS BOS ±±¨îªA°È°»´ú¨ì AFS ¥D¦øªA¾¹µ²§ô¡A¨Ã¥B¥¼n¨D«·s±Ò°Ê¡C
+.
+
+
+
+;
+;#endif /* TRANSARC_AFSEVENT_H */
#check which version of the complier we are using
prep: AFS_component_version_number.txt
+! IF (!EXIST($(DESTDIR)\WinInstall\Config\wininet.dll))
+! ERROR File Not found:$(DESTDIR)\WinInstall\Config\wininet.dll
+! ENDIF
+! IF (!EXIST($(DESTDIR)\WinInstall\Config\shlwapi.dll))
+! ERROR File Not found:$(DESTDIR)\WinInstall\Config\shlwapi.dll
+! ENDIF
+! IF (!EXIST($(DESTDIR)\WinInstall\Config\$(CELLSERVDB_INSTALL)))
+! ERROR File Not found:$(DESTDIR)\WinInstall\Config\$(CELLSERVDB_INSTALL)
+! ENDIF
$(DESTDIR)\bin\util_cr.exe } "$(AFSPRODUCT_VERSION)" ".\lang\en_US\value.txt" ".\lang\en_US\value.shl"
$(DESTDIR)\bin\util_cr.exe } "$(AFSPRODUCT_VERSION)" "default.txt" "default.rge"
$(DESTDIR)\bin\util_cr.exe @ "$(AFSROOT)\src\WINNT\install\InstallShield5\lang\en_US\value.shl" "[DATA] CELLSERVDB_CONFIGNAME=$(CELLSERVDB_CONFIGNAME)"
CreateISDirTree.bat
ScatterFiles.bat
CreateGeneratedFiles.bat
- CompileScript.bat
+ pause
+# CompileScript.bat
$(COPY) $(DESTDIR)\WinInstall\Config\wininet.dll ".\Setup Files\Compressed Files\0009-English\Intel 32\."
$(COPY) $(DESTDIR)\WinInstall\Config\shlwapi.dll ".\Setup Files\Compressed Files\0009-English\Intel 32\."
$(COPY) ..\..\afs_setup_utils\_isuser\_isuser.dll ".\Setup Files\Compressed Files\0009-English\Intel 32\."
/* Define VERSIONINFO resource */
#define AFS_VERINFO_FILE_DESCRIPTION "AFS Pthread DLL"
+#define AFS_VERINFO_DLL
+#define AFS_VERINFO_NAME "afspthread"
+#define AFS_VERINFO_FILENAME "afspthread.dll"
#include "AFS_component_version_number.h"
#include "..\..\config\NTVersioninfo.rc"
/* Define VERSIONINFO resource */
#define AFS_VERINFO_FILE_DESCRIPTION "AFS Pthread DLL (Windows 95)"
+#define AFS_VERINFO_DLL
+#define AFS_VERINFO_NAME "afspthread95"
+#define AFS_VERINFO_FILENAME "afspthread.dll"
#include "AFS_component_version_number.h"
#include "..\..\config\NTVersioninfo.rc"
#include <afsconfig.h>
#include <afs/param.h>
-RCSID("$Header: /tmp/cvstemp/openafs/src/afs/DARWIN/osi_vfsops.c,v 1.1.1.5 2002/05/10 23:43:37 hartmans Exp $");
+RCSID("$Header: /tmp/cvstemp/openafs/src/afs/DARWIN/osi_vfsops.c,v 1.1.1.6 2003/07/30 17:08:05 hartmans Exp $");
#include <afs/sysincludes.h> /* Standard vendor system headers */
#include <afs/afsincludes.h> /* Afs-based standard headers */
AFS_GLOCK();
AFS_STATCNT(afs_mount);
- if (afs_globalVFS) { /* Don't allow remounts. */
+ if (data == NULL && afs_globalVFS) { /* Don't allow remounts. */
AFS_GUNLOCK();
return (EBUSY);
}
(void) copyinstr(path, mp->mnt_stat.f_mntonname, MNAMELEN-1, &size);
memset(mp->mnt_stat.f_mntonname + size, 0, MNAMELEN - size);
memset(mp->mnt_stat.f_mntfromname, 0, MNAMELEN);
- strcpy(mp->mnt_stat.f_mntfromname, "AFS");
- /* null terminated string "AFS" will fit, just leave it be. */
+
+ if (data == NULL) {
+ strcpy(mp->mnt_stat.f_mntfromname, "AFS");
+ /* null terminated string "AFS" will fit, just leave it be. */
+ mp->mnt_data = (qaddr_t)NULL;
+ } else {
+ struct VenusFid *rootFid = NULL;
+ struct volume *tvp;
+ char volName[MNAMELEN];
+
+ (void) copyinstr((char *)data, volName, MNAMELEN-1, &size);
+ memset(volName + size, 0, MNAMELEN - size);
+
+ if (volName[0] == 0) {
+ strcpy(mp->mnt_stat.f_mntfromname, "AFS");
+ mp->mnt_data = (qaddr_t)&afs_rootFid;
+ } else {
+ struct cell *localcell = afs_GetPrimaryCell(READ_LOCK);
+ if (localcell == NULL) {
+ AFS_GUNLOCK();
+ return ENODEV;
+ }
+
+ /* Set the volume identifier to "AFS:volume.name" */
+ snprintf(mp->mnt_stat.f_mntfromname, MNAMELEN-1, "AFS:%s",
+ volName);
+ tvp = afs_GetVolumeByName(volName, localcell->cellNum, 1,
+ (struct vrequest *)0, READ_LOCK);
+
+ if (tvp) {
+ int volid = (tvp->roVol ? tvp->roVol : tvp->volume);
+ MALLOC(rootFid, struct VenusFid *, sizeof(*rootFid),
+ M_UFSMNT, M_WAITOK);
+ rootFid->Cell = localcell->cellNum;
+ rootFid->Fid.Volume = volid;
+ rootFid->Fid.Vnode = 1;
+ rootFid->Fid.Unique = 1;
+ } else {
+ AFS_GUNLOCK();
+ return ENODEV;
+ }
+
+ mp->mnt_data = (qaddr_t)rootFid;
+ }
+ }
strcpy(mp->mnt_stat.f_fstypename, "afs");
AFS_GUNLOCK();
(void) afs_statfs(mp, &mp->mnt_stat, p);
AFS_GLOCK();
AFS_STATCNT(afs_unmount);
- afs_globalVFS = 0;
- afs_shutdown();
+
+ if (mp->mnt_data != (qaddr_t)-1) {
+ if (mp->mnt_data != NULL) {
+ FREE(mp->mnt_data, M_UFSMNT);
+ mp->mnt_data = (qaddr_t)-1;
+ } else {
+ if (flags & MNT_FORCE) {
+ afs_globalVFS = 0;
+ afs_shutdown();
+ } else {
+ AFS_GUNLOCK();
+ return EBUSY;
+ }
+ }
+ mp->mnt_flag &= ~MNT_LOCAL;
+ }
+
AFS_GUNLOCK();
return 0;
pcred_unlock(p);
AFS_GLOCK();
AFS_STATCNT(afs_root);
- if (afs_globalVp && (afs_globalVp->states & CStatd)) {
+ if (mp->mnt_data == NULL
+ && afs_globalVp && (afs_globalVp->states & CStatd)) {
tvp = afs_globalVp;
error=0;
+ } else if (mp->mnt_data == (qaddr_t)-1) {
+ error = ENOENT;
} else {
+ struct VenusFid *rootFid = (mp->mnt_data == NULL)
+ ? &afs_rootFid : (struct VenusFid *)mp->mnt_data;
if (!(error = afs_InitReq(&treq, &cr)) &&
!(error = afs_CheckInit())) {
- tvp = afs_GetVCache(&afs_rootFid, &treq, (afs_int32 *)0,
+ tvp = afs_GetVCache(rootFid, &treq, (afs_int32 *)0,
(struct vcache*)0, WRITE_LOCK);
/* we really want this to stay around */
if (tvp) {
- afs_globalVp = tvp;
+ if (mp->mnt_data == NULL)
+ afs_globalVp = tvp;
} else
error = ENOENT;
}
AFS_GUNLOCK();
vn_lock(AFSTOV(tvp), LK_EXCLUSIVE | LK_RETRY, p);
AFS_GLOCK();
- afs_globalVFS = mp;
+ if (mp->mnt_data == NULL) {
+ afs_globalVFS = mp;
+ }
*vpp = AFSTOV(tvp);
AFSTOV(tvp)->v_flag |= VROOT;
+ AFSTOV(tvp)->v_vfsp = mp;
}
afs_Trace2(afs_iclSetp, CM_TRACE_VFSROOT, ICL_TYPE_POINTER, *vpp,
}
error = vget(vp, lfl, current_proc());
if (!error)
- insmntque(vp, afs_globalVFS); /* take off free list */
+ insmntque(vp, mp); /* take off free list */
return error;
}
#include <afsconfig.h>
#include <afs/param.h>
-RCSID("$Header: /tmp/cvstemp/openafs/src/afs/DARWIN/osi_vnodeops.c,v 1.1.1.8 2003/04/13 19:02:42 hartmans Exp $");
+RCSID("$Header: /tmp/cvstemp/openafs/src/afs/DARWIN/osi_vnodeops.c,v 1.1.1.9 2003/07/30 17:08:05 hartmans Exp $");
#include <afs/sysincludes.h> /* Standard vendor system headers */
#include <afs/afsincludes.h> /* Afs-based standard headers */
return (error);
}
vp = AFSTOV(vcp); /* always get a node if no error */
+ vp->v_vfsp = dvp->v_vfsp;
/* The parent directory comes in locked. We unlock it on return
unless the caller wants it left locked.
if (vcp) {
*ap->a_vpp = AFSTOV(vcp);
+ (*ap->a_vpp)->v_vfsp = dvp->v_vfsp;
vn_lock(*ap->a_vpp, LK_EXCLUSIVE| LK_RETRY, p);
if (UBCINFOMISSING(*ap->a_vpp) ||
UBCINFORECLAIMED(*ap->a_vpp))
GETNAME();
p=cnp->cn_proc;
- if (dvp->v_mount != vp->v_mount) {
- VOP_ABORTOP(vp, cnp);
- error = EXDEV;
- goto out;
- }
if (vp->v_type == VDIR) {
VOP_ABORTOP(vp, cnp);
error = EISDIR;
register struct vnode *fdvp = ap->a_fdvp;
struct proc *p=fcnp->cn_proc;
- /*
- * Check for cross-device rename.
- */
- if ((fvp->v_mount != tdvp->v_mount) ||
- (tvp && (fvp->v_mount != tvp->v_mount))) {
- error = EXDEV;
-abortit:
- VOP_ABORTOP(tdvp, tcnp); /* XXX, why not in NFS? */
- if (tdvp == tvp)
- vrele(tdvp);
- else
- vput(tdvp);
- if (tvp)
- vput(tvp);
- VOP_ABORTOP(fdvp, fcnp); /* XXX, why not in NFS? */
- vrele(fdvp);
- vrele(fvp);
- return (error);
- }
/*
* if fvp == tvp, we're just removing one name of a pair of
* directory entries for the same element. convert call into rename.
if (fvp == tvp) {
if (fvp->v_type == VDIR) {
error = EINVAL;
- goto abortit;
+ abortit:
+ VOP_ABORTOP(tdvp, tcnp); /* XXX, why not in NFS? */
+ if (tdvp == tvp)
+ vrele(tdvp);
+ else
+ vput(tdvp);
+ if (tvp)
+ vput(tvp);
+ VOP_ABORTOP(fdvp, fcnp); /* XXX, why not in NFS? */
+ vrele(fdvp);
+ vrele(fvp);
+ return (error);
}
/* Release destination completely. */
}
if (vcp) {
*ap->a_vpp = AFSTOV(vcp);
+ (*ap->a_vpp)->v_vfsp = dvp->v_vfsp;
vn_lock(*ap->a_vpp, LK_EXCLUSIVE|LK_RETRY, p);
} else
*ap->a_vpp = 0;
#include <afsconfig.h>
#include "../afs/param.h"
-RCSID("$Header: /tmp/cvstemp/openafs/src/afs/HPUX/osi_groups.c,v 1.1.1.4 2001/07/14 22:19:38 hartmans Exp $");
+RCSID("$Header: /tmp/cvstemp/openafs/src/afs/HPUX/osi_groups.c,v 1.1.1.5 2003/07/30 17:08:07 hartmans Exp $");
#include "../afs/sysincludes.h"
#include "../afs/afsincludes.h"
int *gp;
struct ucred *newcr;
ulong_t s;
+#if defined(AFS_HPUX110_ENV)
+ register ulong_t context;
+#endif
AFS_STATCNT(afs_setgroups);
/* somebody else might have a pointer to this structure.
** make sure we do not have a race condition */
newcr = *cred;
+#if defined(AFS_HPUX110_ENV)
+ /* all of the uniprocessor spinlocks are not defined. */
+ /* I assume the UP and MP are now handled together */
+ MP_SPINLOCK_USAV(cred_lock, context);
+#else
s = UP_SPL6();
SPINLOCK(cred_lock);
+#endif
}
/* copy the group info */
}
else
{
+#if defined(AFS_HPUX110_ENV)
+ MP_SPINUNLOCK_USAV(cred_lock, context);
+#else
(void) UP_SPLX(s);
SPINUNLOCK(cred_lock);
+#endif
}
return (setuerror(0), 0);
}
* HP uses global mutex to protect afs land
*/
+#if !defined(AFS_HPUX110_ENV)
extern sema_t afs_global_sema;
+#else
+extern b_sema_t afs_global_sema;
+#endif
extern void osi_InitGlock(void);
+#if !defined(AFS_HPUX110_ENV)
extern void afsHash(int nbuckets);
extern sv_sema_t *afsHashInsertFind(tid_t key);
extern sv_sema_t *afsHashFind(tid_t key);
#define AFS_GLOCK() MP_PXSEMA(&afs_global_sema, AFS_SAVE_SEMA)
#define AFS_GUNLOCK() (AFS_ASSERT_GLOCK(), MP_VXSEMA(&afs_global_sema,AFS_FIND_SEMA), (!uniprocessor ? (afsHashRelease(AFS_GLOCK_PID),0) : 0))
#define ISAFS_GLOCK() (!uniprocessor ? owns_sema(&afs_global_sema):1)
+#else
+#define AFS_GLOCK() b_psema(&afs_global_sema)
+#define AFS_GUNLOCK() b_vsema(&afs_global_sema)
+#define ISAFS_GLOCK() b_owns_sema(&afs_global_sema)
+#endif
#define AFS_RXGLOCK()
#define AFS_RXGUNLOCK()
#define USERPRI NET_SPLX(splvar)
#endif /* KERNEL */
+#if !defined(AFS_HPUX110_ENV)
/*
* On HP, the global lock is an alpha semaphore, hence it is automatically
* released and reacquired aroubd a sleep() and wakeup().
#define afs_osi_Sleep(x) sleep((caddr_t) x,PZERO-2)
#define afs_osi_Wakeup(x) wakeup((caddr_t) x)
+#else
+/*
+ * On 11.* global lock is a beta semaphore, hence we need to
+ * release and reacquire around sleep and wakeup. We also need to
+ * use the get_sleep_lock.
+ * afs_osi_Sleep and afs_osi_Wakeup are defined
+ */
+void afs_osi_Sleep(void *event);
+int afs_osi_Wakeup(void *event);
+#endif
+
+
#define osi_NullHandle(x) ((x)->proc == (caddr_t) 0)
+#if !defined(AFS_HPUX110_ENV)
extern caddr_t kmem_alloc();
+#endif
+
#include <sys/kthread_iface.h> /* for kt_cred() */
/* Expected to be available as a patch from HP */
/* See section D of the top level README for details */
+#if defined(AFS_HPUX110_ENV)
+#include <sys/vfs_vm.h>
+#else
#include <vfs_vm.h>
+#endif
#endif /* _OSI_MACHDEP_H_ */
#include <afsconfig.h>
#include "../afs/param.h"
-RCSID("$Header: /tmp/cvstemp/openafs/src/afs/HPUX/osi_sleep.c,v 1.1.1.4 2001/07/14 22:19:39 hartmans Exp $");
+RCSID("$Header: /tmp/cvstemp/openafs/src/afs/HPUX/osi_sleep.c,v 1.1.1.5 2003/07/30 17:08:07 hartmans Exp $");
#include "../afs/sysincludes.h" /* Standard vendor system headers */
#include "../afs/afsincludes.h" /* Afs-based standard headers */
-
+#if !defined(AFS_HPUX110_ENV)
static char waitV;
+#endif
/* call procedure aproc with arock as an argument, in ams milliseconds */
static int afs_osi_CallProc(aproc, arock, ams)
int code;
AFS_STATCNT(osi_CallProc);
+#if !defined(AFS_HPUX110_ENV)
AFS_GUNLOCK();
+#endif
/* hz is in cycles/second, and timeout's 3rd parm is in cycles */
code = timeout(aproc, arock, (ams * afs_hz)/1000 + 1);
+#if !defined(AFS_HPUX110_ENV)
AFS_GLOCK();
+#endif
return code;
}
int code = 0;
AFS_STATCNT(osi_CancelProc);
+#if !defined(AFS_HPUX110_ENV)
AFS_GUNLOCK();
+#endif
code = untimeout(aproc, arock);
+#if !defined(AFS_HPUX110_ENV)
AFS_GLOCK();
+#endif
return code;
}
+#if defined(AFS_HPUX110_ENV)
+static void AfsWaitHack(char * event)
+{
+ lock_t * sleep_lock;
+
+ AFS_STATCNT(WaitHack);
+ sleep_lock = get_sleep_lock(event);
+ wakeup(event);
+ spinunlock(sleep_lock);
+}
+#else
+
static void AfsWaitHack()
{
AFS_STATCNT(WaitHack);
wakeup(&waitV);
}
+#endif
void afs_osi_InitWaitHandle(struct afs_osi_WaitHandle *achandle)
{
proc = achandle->proc;
if (proc == 0) return;
achandle->proc = (caddr_t) 0; /* so dude can figure out he was signalled */
+#if defined(AFS_HPUX110_ENV)
+ afs_osi_Wakeup((char *)achandle);
+#else
afs_osi_Wakeup(&waitV);
+#endif
}
/* afs_osi_Wait
{
int code;
afs_int32 endTime, tid;
+#if defined(AFS_HPUX110_ENV)
+ char localwait;
+ char * event;
+#endif
AFS_STATCNT(osi_Wait);
endTime = osi_Time() + (ams/1000);
AFS_ASSERT_GLOCK();
code = 0;
/* do not do anything for solaris, digital, AIX, and SGI MP */
+#if defined(AFS_HPUX110_ENV)
+ if (ahandle) {
+ event = (char *) ahandle;
+ }
+ else {
+ event = &localwait;
+ }
+ afs_osi_CallProc(AfsWaitHack, event, ams);
+ afs_osi_Sleep(event);
+ afs_osi_CancelProc(AfsWaitHack, event);
+#else
afs_osi_CallProc(AfsWaitHack, (char *) u.u_procp, ams);
afs_osi_Sleep(&waitV); /* for HP 10.0 */
/* do not do anything for solaris, digital, and SGI MP */
afs_osi_CancelProc(AfsWaitHack, (char *) u.u_procp);
if (code) break; /* if something happened, quit now */
+#endif
/* if we we're cancelled, quit now */
if (ahandle && (ahandle->proc == (caddr_t) 0)) {
/* we've been signalled */
} while (osi_Time() < endTime);
return code;
}
+
+#if defined(AFS_HPUX110_ENV)
+void afs_osi_Sleep(void *event)
+{
+ lock_t * sleep_lock;
+
+ AFS_ASSERT_GLOCK();
+ get_sleep_lock(event);
+ AFS_GUNLOCK();
+ sleep((caddr_t) event, PZERO-2);
+ AFS_GLOCK();
+}
+
+int afs_osi_Wakeup(void *event)
+{
+ lock_t * sleep_lock;
+
+ sleep_lock = get_sleep_lock(event);
+ wakeup((caddr_t) event);
+ spinunlock(sleep_lock);
+ return 0;
+}
+#endif
+
#include <afsconfig.h>
#include "../afs/param.h"
-RCSID("$Header: /tmp/cvstemp/openafs/src/afs/HPUX/osi_vfsops.c,v 1.1.1.5 2002/05/10 23:43:50 hartmans Exp $");
+RCSID("$Header: /tmp/cvstemp/openafs/src/afs/HPUX/osi_vfsops.c,v 1.1.1.6 2003/07/30 17:08:07 hartmans Exp $");
#include "../afs/sysincludes.h" /* Standard vendor system headers */
#include "../afs/afsincludes.h" /* Afs-based standard headers */
static int afs_Starting = 0;
#pragma align 64
+#if defined(AFS_HPUX110_ENV)
+b_sema_t afs_global_sema = {0};
+#else
sema_t afs_global_sema = {
NULL, 0, NULL, NULL, NULL, NULL, 0, 0, 0, 0, 0, 0, 0, /* sa_type */
0, 0, 0, 0, 0, 0, 0, NULL, /* sa_link */
, 0, 0, 0, NULL
#endif
};
+#endif
void
osi_InitGlock()
if ( !afs_Starting ) {
afs_Starting = 1;
SPINUNLOCK_USAV(sched_lock, context);
+#if defined(AFS_HPUX110_ENV)
+ b_initsema(&afs_global_sema, 1, NFS_LOCK_ORDER2, "AFS GLOCK");
+#else
initsema(&afs_global_sema, 1, FILESYS_SEMA_PRI, FILESYS_SEMA_ORDER);
afsHash(64); /* 64 buckets */
+#endif
} else {
SPINUNLOCK_USAV(sched_lock, context);
}
#include <afsconfig.h>
#include "../afs/param.h"
-RCSID("$Header: /tmp/cvstemp/openafs/src/afs/HPUX/osi_vnodeops.c,v 1.1.1.7 2002/12/11 02:36:12 hartmans Exp $");
+RCSID("$Header: /tmp/cvstemp/openafs/src/afs/HPUX/osi_vnodeops.c,v 1.1.1.8 2003/07/30 17:08:08 hartmans Exp $");
#include "../afs/sysincludes.h" /* Standard vendor system headers */
#include "../afs/afsincludes.h" /* Afs-based standard headers */
#define vtoblksz(vp) ((vp)->v_vfsp->vfs_bsize)
+#if defined(AFS_HPUX110_ENV)
+/* We no longer need to lock on the VM Empire,
+ * or at least that is what is claimed.
+ * so we will noopt the vmemp_ routines
+ * This needs to be looked at closer.
+ */
+#define vmemp_lockx()
+#undef vmemp_returnx
+#define vmemp_returnx(a) return(a)
+#define vmemp_unlockx()
+#endif
+
+#if !defined(AFS_HPUX110_ENV)
/*
* Copy an mbuf to the contiguous area pointed to by cp.
* Skip <off> bytes and copy <len> bytes.
return (len);
}
+#endif
/*
* Note that the standard Sun vnode interface doesn't haven't an vop_lockf(), so this code is
}
-#include "../machine/vmparam.h" /* For KERNELSPACE */
+#if defined(AFS_HPUX1122_ENV)
+#include "../machine/vm/vmparam.h"
+#else
+#include "../machine/vmparam.h" /* For KERNELSPACE */
+#endif
#include "../h/debug.h"
#include "../h/types.h"
#include "../h/param.h"
if (change_to_fstore)
afspgin_update_dbd(vm_info, bsize);
+#if defined(AFS_HPUX110_ENV)
+ getppdp()->cnt.v_exfod += count;
+#else
mpproc_info[getprocindex()].cnt.v_exfod += count;
+#endif
vmemp_unlockx(); /* free up VM empire */
*ret_startindex = startindex;
*/
if (steal) {
if (flags & PF_DEACT) {
+#if defined(AFS_HPUX110_ENV)
+ getppdp()->cnt.v_pswpout += npages;
+#else
mpproc_info[getprocindex()].cnt.v_pswpout += npages;
+#endif
/* sar_bswapout += ptod(npages);*/
}
else if (vhand) {
+#if defined(AFS_HPUX110_ENV)
+ getppdp()->cnt.v_pgout++;
+ getppdp()->cnt.v_pgpgout += npages;
+#else
mpproc_info[getprocindex()].cnt.v_pgout++;
mpproc_info[getprocindex()].cnt.v_pgpgout += npages;
+#endif
}
}
afs_mmap(vp, off, size_bytes, access)
struct vnode *vp;
u_int off;
+#if defined(AFS_HPUX1111_ENV)
+ u_long size_bytes;
+#else
u_int size_bytes;
+#endif
int access;
{
long bsize = vtoblksz(vp);
afs_unmap(vp,off, size_bytes,access)
struct vnode *vp;
u_int off;
+#if defined(AFS_HPUX1111_ENV)
+ u_long size_bytes;
+#else
u_int size_bytes;
+#endif
int access;
{
return 0;
int
afs_prealloc(vp, size, ignore_minfree, reserved)
struct vnode *vp;
+ /* DEE on 11.22 following is off_t */
size_t size;
int ignore_minfree;
int reserved;
return(ENOTTY);
}
+#if defined(AFS_HPUX1111_ENV)
+/* looks like even if appl is 32 bit, we need to round to 8 bytes */
+/* This had no effect, it must not be being used */
+
+#define roundtoint(x) (((x) + (sizeof(long) - 1)) & ~(sizeof(long) - 1))
+#define reclen(dp) roundtoint(((dp)->d_namlen + 1 + (sizeof(u_long)) +\
+ sizeof(u_int) + 2 * sizeof(u_short)))
+#else
+
#define roundtoint(x) (((x) + (sizeof(int) - 1)) & ~(sizeof(int) - 1))
#define reclen(dp) roundtoint(((dp)->d_namlen + 1 + (sizeof(u_long)) +\
2 * sizeof(u_short)))
+#endif
int
afs_readdir(vp, uiop, cred)
#include <afsconfig.h>
#include "../afs/param.h"
-RCSID("$Header: /tmp/cvstemp/openafs/src/afs/LINUX/osi_alloc.c,v 1.1.1.11 2002/08/02 04:28:55 hartmans Exp $");
+RCSID("$Header: /tmp/cvstemp/openafs/src/afs/LINUX/osi_alloc.c,v 1.1.1.12 2003/07/30 17:08:09 hartmans Exp $");
#include "../afs/sysincludes.h"
#include "../afs/afsincludes.h"
int memtype;
memtype = MEMTYPE(lmp->chunk);
-#ifdef AFS_SPARC64_LINUX24_ENV
+#if defined(AFS_SPARC64_LINUX24_ENV) || defined(AFS_I386_UMLINUX20_ENV)
if ((memtype == KM_TYPE) && (!VALID_PAGE(virt_to_page(lmp->chunk)))) {
printf("osi_linux_verify_alloced_memory: address 0x%x outside range, index=%d, key=%d\n", lmp->chunk, index, key);
}
#include <afsconfig.h>
#include "../afs/param.h"
-RCSID("$Header: /tmp/cvstemp/openafs/src/afs/LINUX/osi_groups.c,v 1.1.1.11 2003/04/13 19:02:45 hartmans Exp $");
+RCSID("$Header: /tmp/cvstemp/openafs/src/afs/LINUX/osi_groups.c,v 1.1.1.12 2003/07/30 17:08:10 hartmans Exp $");
#include "../afs/sysincludes.h"
#include "../afs/afsincludes.h"
extern long (*sys_setgroupsp)(int gidsetsize, gid_t *grouplist);
asmlinkage long afs_xsetgroups(int gidsetsize, gid_t *grouplist)
{
- int code;
+ long code;
cred_t *cr = crref();
afs_uint32 junk;
int old_pag;
crfree(cr);
unlock_kernel();
- return code;
+ /* Linux syscall ABI returns errno as negative */
+ return (- code);
}
#if defined(AFS_LINUX24_ENV)
/* Intercept the standard uid32 system call. */
-extern int (*sys_setgroups32p)(int gidsetsize, gid_t *grouplist);
-asmlinkage int afs_xsetgroups32(int gidsetsize, gid_t *grouplist)
+extern long (*sys_setgroups32p)(int gidsetsize, gid_t *grouplist);
+asmlinkage long afs_xsetgroups32(int gidsetsize, gid_t *grouplist)
{
- int code;
+ long code;
cred_t *cr = crref();
afs_uint32 junk;
int old_pag;
unlock_kernel();
code = (*sys_setgroups32p)(gidsetsize, grouplist);
+
if (code) {
return code;
}
crfree(cr);
unlock_kernel();
- return code;
+ /* Linux syscall ABI returns errno as negative */
+ return (- code);
}
#endif
-#if defined(AFS_SPARC64_LINUX20_ENV)
+#if defined(AFS_SPARC64_LINUX20_ENV) || defined(AFS_AMD64_LINUX20_ENV)
/* Intercept the uid16 system call as used by 32bit programs. */
-extern int (*sys32_setgroupsp)(int gidsetsize, __kernel_gid_t32 *grouplist);
-asmlinkage int afs32_xsetgroups(int gidsetsize, __kernel_gid_t32 *grouplist)
+extern long (*sys32_setgroupsp)(int gidsetsize, old_gid_t *grouplist);
+asmlinkage long afs32_xsetgroups(int gidsetsize, old_gid_t *grouplist)
{
- int code;
+ long code;
cred_t *cr = crref();
afs_uint32 junk;
int old_pag;
crfree(cr);
unlock_kernel();
- return code;
+ /* Linux syscall ABI returns errno as negative */
+ return (- code);
}
#ifdef AFS_LINUX24_ENV
/* Intercept the uid32 system call as used by 32bit programs. */
-extern int (*sys32_setgroups32p)(int gidsetsize, __kernel_gid_t32 *grouplist);
-asmlinkage int afs32_xsetgroups32(int gidsetsize, __kernel_gid_t32 *grouplist)
+extern long (*sys32_setgroups32p)(int gidsetsize, gid_t *grouplist);
+asmlinkage long afs32_xsetgroups32(int gidsetsize, gid_t *grouplist)
{
- int code;
+ long code;
cred_t *cr = crref();
afs_uint32 junk;
int old_pag;
crfree(cr);
unlock_kernel();
- return code;
+ /* Linux syscall ABI returns errno as negative */
+ return (- code);
}
#endif
#endif
#include <afsconfig.h>
#include "../afs/param.h"
-RCSID("$Header: /tmp/cvstemp/openafs/src/afs/LINUX/osi_vfsops.c,v 1.1.1.13 2002/08/02 04:28:57 hartmans Exp $");
+RCSID("$Header: /tmp/cvstemp/openafs/src/afs/LINUX/osi_vfsops.c,v 1.1.1.14 2003/07/30 17:08:10 hartmans Exp $");
#include "../afs/sysincludes.h"
#include "../afs/afsincludes.h"
struct vcache *afs_globalVp = 0;
struct vfs *afs_globalVFS = 0;
+struct nameidata afs_cacheNd;
int afs_was_mounted = 0; /* Used to force reload if mount/unmount/mount */
extern struct super_operations afs_sops;
afs_globalVFS = 0;
afs_globalVp = 0;
afs_shutdown();
+ path_release(&afs_cacheNd);
osi_linux_verify_alloced_memory();
done:
void
afs_umount_begin(struct super_block *sbp)
{
- afs_put_super(sbp);
afs_shuttingdown=1;
- afs_was_mounted=0;
}
#if defined(AFS_LINUX24_ENV)
delete_inode: afs_delete_inode,
put_super: afs_put_super,
statfs: afs_statfs,
- umount_begin: NULL /* afs_umount_begin */
+ umount_begin: afs_umount_begin
};
#else
struct super_operations afs_sops = {
afs_statfs,
NULL, /* afs_remount_fs - see doc above */
NULL, /* afs_clear_inode */
- NULL /* afs_umount_begin */
+ afs_umount_begin
};
#endif
#include <afsconfig.h>
#include "../afs/param.h"
-RCSID("$Header: /tmp/cvstemp/openafs/src/afs/SOLARIS/osi_vfsops.c,v 1.1.1.10 2002/05/10 23:44:13 hartmans Exp $");
+RCSID("$Header: /tmp/cvstemp/openafs/src/afs/SOLARIS/osi_vfsops.c,v 1.1.1.11 2003/07/30 17:08:11 hartmans Exp $");
#include "../afs/sysincludes.h" /* Standard vendor system headers */
#include "../afs/afsincludes.h" /* Afs-based standard headers */
printf("misc/nfssrv module must be loaded before loading afs with nfs-xlator\n");
return (ENOSYS);
}
-#else
+#else /* !AFS_SUN55_ENV */
#if defined(AFS_SUN52_ENV)
if ((!(mp = mod_find_by_filename("fs", "nfs")) &&
!(mp = mod_find_by_filename(NULL, "/kernel/fs/nfs")) &&
printf("fs/nfs module must be loaded before loading afs with nfs-xlator\n");
return (ENOSYS);
}
-#endif
-#endif
-#endif
+#endif /* AFS_SUN52_ENV */
+#endif /* AFS_SUN55_ENV */
+#endif /* !AFS_NONFSTRANS */
+#if !defined(AFS_SUN58_ENV)
/*
* Re-read the /etc/name_to_sysnum file to make sure afs isn't added after
* reboot. Ideally we would like to call modctl_read_sysbinding_file() but
#ifdef AFS_SUN53_ENV
#ifndef SYSBINDFILE
#define SYSBINDFILE "/etc/name_to_sysnum"
-#endif
+#endif /* SYSBINDFILE */
read_binding_file(SYSBINDFILE, sb_hashtab);
-#else
+#else /* !AFS_SUN53_ENV */
read_binding_file(sysbind, sb_hashtab);
-#endif
-#if !defined(AFS_SUN58_ENV)
+#endif /* AFS_SUN53_ENV */
make_syscallname("afs", AFS_SYSCALL);
-#endif
if (sysent[AFS_SYSCALL].sy_call == nosys) {
if ((sysn = mod_getsysname(AFS_SYSCALL)) != NULL) {
rw_init(sysent[AFS_SYSCALL].sy_lock, "afs_syscall",
#ifdef AFS_SUN57_ENV
RW_DEFAULT, NULL);
-#else
+#else /* !AFS_SUN57_ENV */
RW_DEFAULT, DEFAULT_WT);
-#endif
+#endif /* AFS_SUN57_ENV */
}
}
+#endif /* !AFS_SUN58_ENV */
osi_Init(); /* initialize global lock, etc */
#include <afsconfig.h>
#include "../afs/param.h"
-RCSID("$Header: /tmp/cvstemp/openafs/src/afs/VNOPS/afs_vnop_attrs.c,v 1.1.1.11 2002/09/26 18:58:21 hartmans Exp $");
+RCSID("$Header: /tmp/cvstemp/openafs/src/afs/VNOPS/afs_vnop_attrs.c,v 1.1.1.12 2003/07/30 17:08:13 hartmans Exp $");
#include "../afs/sysincludes.h" /* Standard vendor system headers */
#include "../afs/afsincludes.h" /* Afs-based standard headers */
extern afs_rwlock_t afs_xcbhash;
struct afs_exporter *afs_nfsexporter;
extern struct vcache *afs_globalVp;
+#if defined(AFS_HPUX110_ENV)
+extern struct vfs *afs_globalVFS;
+#endif
/* copy out attributes from cache entry */
afs_CopyOutAttrs(avc, attrs)
if (tcell && (tcell->states & CNoSUID))
attrs->va_mode &= ~(VSUID|VSGID);
}
+#if defined(AFS_DARWIN_ENV)
+ /* Mac OS X uses the mode bits to determine whether a file or directory
+ * is accessible, and believes them, even though under AFS they're almost
+ * assuredly wrong, especially if the local uid does not match the AFS
+ * ID. So we set the mode bits conservatively.
+ */
+ if (S_ISDIR(attrs->va_mode)) {
+ /* all access bits need to be set for directories, since even
+ * a mode 0 directory can still be used normally.
+ */
+ attrs->va_mode |= ACCESSPERMS;
+ } else {
+ /* for other files, replicate the user bits to group and other */
+ mode_t ubits = (attrs->va_mode & S_IRWXU) >> 6;
+ attrs->va_mode |= ubits | (ubits << 3);
+ }
+#endif /* AFS_DARWIN_ENV */
attrs->va_uid = fakedir ? 0 : avc->m.Owner;
attrs->va_gid = fakedir ? 0 : avc->m.Group; /* yeah! */
#if defined(AFS_SUN56_ENV)
#else
attrs->va_rdev = 1;
#endif
+
+#if defined(AFS_HPUX110_ENV)
+ if (afs_globalVFS) attrs->va_fstype = afs_globalVFS->vfs_mtype;
+#endif
+
/*
* Below return 0 (and not 1) blocks if the file is zero length. This conforms
* better with the other filesystems that do return 0.
#include <afsconfig.h>
#include "../afs/param.h"
-RCSID("$Header: /tmp/cvstemp/openafs/src/afs/afs_analyze.c,v 1.1.1.10 2003/04/13 19:02:33 hartmans Exp $");
+RCSID("$Header: /tmp/cvstemp/openafs/src/afs/afs_analyze.c,v 1.1.1.11 2003/07/30 17:07:57 hartmans Exp $");
#include "../afs/stds.h"
#include "../afs/sysincludes.h" /* Standard vendor system headers */
return EWOULDBLOCK;
if (acode == VNOVNODE)
return ENOENT;
+ if (acode == VDISKFULL)
+ return ENOSPC;
+ if (acode == VOVERQUOTA)
+ return
+#ifdef EDQUOT
+ EDQUOT
+#else
+ ENOSPC
+#endif
+ ;
+
return acode;
} /*afs_CheckCode*/
} else {
VSleep(afs_BusyWaitPeriod); /* poll periodically */
}
+ if (shouldRetry != 0)
+ areq->busyCount++;
+
return shouldRetry; /* should retry */
}
#include <afsconfig.h>
#include "afs/param.h"
-RCSID("$Header: /tmp/cvstemp/openafs/src/afs/afs_cell.c,v 1.1.1.12 2003/04/13 19:02:34 hartmans Exp $");
+RCSID("$Header: /tmp/cvstemp/openafs/src/afs/afs_cell.c,v 1.1.1.13 2003/07/30 17:07:58 hartmans Exp $");
#include "afs/stds.h"
#include "afs/sysincludes.h" /* Standard vendor system headers */
code = afs_GetCellHostsAFSDB(acellName, cellHosts, &timeout, &realName);
if (code) goto done;
code = afs_NewCell(realName, cellHosts, CNoSUID, NULL, 0, 0, timeout);
- if (code) goto done;
+ if (code && code != EEXIST) goto done;
/* If we found an alias, create it */
if (afs_strcasecmp(acellName, realName))
* it must get servers from AFSDB.
*/
if (timeout && !tc->timeout && tc->cellHosts[0]) {
- code = EINVAL;
+ code = EEXIST; /* This code is checked for in afs_LookupAFSDB */
goto bad;
}
#include <afsconfig.h>
#include "../afs/param.h"
-RCSID("$Header: /tmp/cvstemp/openafs/src/afs/afs_conn.c,v 1.1.1.8 2002/09/26 18:57:50 hartmans Exp $");
+RCSID("$Header: /tmp/cvstemp/openafs/src/afs/afs_conn.c,v 1.1.1.9 2003/07/30 17:07:59 hartmans Exp $");
#include "../afs/stds.h"
#include "../afs/sysincludes.h" /* Standard vendor system headers */
#if !defined(UKERNEL)
+#if !defined(AFS_LINUX20_ENV)
#include <net/if.h>
+#endif
#include <netinet/in.h>
#ifdef AFS_SGI62_ENV
#include <afsconfig.h>
#include "../afs/param.h"
-RCSID("$Header: /tmp/cvstemp/openafs/src/afs/afs_dcache.c,v 1.1.1.9 2003/04/13 19:02:35 hartmans Exp $");
+RCSID("$Header: /tmp/cvstemp/openafs/src/afs/afs_dcache.c,v 1.1.1.10 2003/07/30 17:07:59 hartmans Exp $");
#include "../afs/sysincludes.h" /*Standard vendor system headers*/
#include "../afs/afsincludes.h" /*AFS-based standard headers*/
afs_warnuser(problem_fmt, avolume, partfull);
}
else
-#ifndef AFS_SUN5_ENV
+#ifdef EDQUOT
/* EDQUOT doesn't exist on solaris and won't be sent by the server.
* Instead ENOSPC will be sent...
*/
#include <afsconfig.h>
#include "../afs/param.h"
-RCSID("$Header: /tmp/cvstemp/openafs/src/afs/afs_osi.c,v 1.1.1.13 2003/04/13 19:02:36 hartmans Exp $");
+RCSID("$Header: /tmp/cvstemp/openafs/src/afs/afs_osi.c,v 1.1.1.14 2003/07/30 17:08:00 hartmans Exp $");
#include "../afs/sysincludes.h" /* Standard vendor system headers */
#include "../afs/afsincludes.h" /* Afs-based standard headers */
#endif
#ifdef AFS_HPUX_ENV
{
+#if !defined(AFS_HPUX1122_ENV)
+ /* drop the setting of the clock for now. spl7 is not
+ * known on hpux11.22
+ */
+
register ulong_t s;
struct timeval t;
t.tv_sec = atv->tv_sec;
t.tv_usec = atv->tv_usec;
s = spl7(); time = t; (void) splx(s);
resettodr(atv);
+#endif
}
#else
{
#include <afsconfig.h>
#include "../afs/param.h"
-RCSID("$Header: /tmp/cvstemp/openafs/src/afs/afs_server.c,v 1.1.1.14 2003/04/13 19:02:38 hartmans Exp $");
+RCSID("$Header: /tmp/cvstemp/openafs/src/afs/afs_server.c,v 1.1.1.15 2003/07/30 17:08:01 hartmans Exp $");
#include "../afs/stds.h"
#include "../afs/sysincludes.h" /* Standard vendor system headers */
#if !defined(UKERNEL)
+#if !defined(AFS_LINUX20_ENV)
#include <net/if.h>
+#endif
#include <netinet/in.h>
#ifdef AFS_SGI62_ENV
#include <afsconfig.h>
#include "../afs/param.h"
-RCSID("$Header: /tmp/cvstemp/openafs/src/afs/afs_user.c,v 1.1.1.8 2002/09/26 18:57:57 hartmans Exp $");
+RCSID("$Header: /tmp/cvstemp/openafs/src/afs/afs_user.c,v 1.1.1.9 2003/07/30 17:08:02 hartmans Exp $");
#include "../afs/stds.h"
#include "../afs/sysincludes.h" /* Standard vendor system headers */
#if !defined(UKERNEL)
+#if !defined(AFS_LINUX20_ENV)
#include <net/if.h>
+#endif
#include <netinet/in.h>
#ifdef AFS_SGI62_ENV
afs_GCPAGs_cred_count++;
pag = PagInCred(pcred);
-#if defined(AFS_DARWIN_ENV) || defined(AFS_FBSD40_ENV)
+#if defined(AFS_DARWIN_ENV) || defined(AFS_FBSD40_ENV) || defined(AFS_LINUX22_ENV)
uid = (pag != NOPAG ? pag : pcred->cr_uid);
#else
uid = (pag != NOPAG ? pag : pcred->cr_ruid);
#include <afsconfig.h>
#include "../afs/param.h"
-RCSID("$Header: /tmp/cvstemp/openafs/src/afs/afs_util.c,v 1.1.1.9 2003/04/13 19:02:39 hartmans Exp $");
+RCSID("$Header: /tmp/cvstemp/openafs/src/afs/afs_util.c,v 1.1.1.10 2003/07/30 17:08:02 hartmans Exp $");
#include "../afs/stds.h"
#include "../afs/sysincludes.h" /* Standard vendor system headers */
#if !defined(UKERNEL)
+#if !defined(AFS_LINUX20_ENV)
#include <net/if.h>
+#endif
#include <netinet/in.h>
#ifdef AFS_SGI62_ENV
afs_warn(a,b,c,d,e,f,g,h,i,j)
char *a;
+#if defined(AFS_USE_VOID_PTR)
+void *b, *c, *d, *e, *f, *g, *h, *i, *j;
+#else
long b,c,d,e,f,g,h,i,j;
+#endif
{
AFS_STATCNT(afs_warn);
#include <afsconfig.h>
#include "../afs/param.h"
-RCSID("$Header: /tmp/cvstemp/openafs/src/afs/afs_vcache.c,v 1.1.1.16 2003/04/13 19:02:39 hartmans Exp $");
+RCSID("$Header: /tmp/cvstemp/openafs/src/afs/afs_vcache.c,v 1.1.1.17 2003/07/30 17:08:02 hartmans Exp $");
#include "../afs/sysincludes.h" /*Standard vendor system headers*/
#include "../afs/afsincludes.h" /*AFS-based standard headers*/
#ifdef STRUCT_INODE_HAS_I_TRUNCATE_SEM
init_rwsem(&ip->i_truncate_sem);
#endif
+#ifdef STRUCT_INODE_HAS_I_ALLOC_SEM
+ init_rwsem(&ip->i_alloc_sem);
+#endif
#else
sema_init(&ip->i_atomic_write, 1);
init_waitqueue(&ip->i_wait);
#include <afsconfig.h>
#include "../afs/param.h"
-RCSID("$Header: /tmp/cvstemp/openafs/src/afs/afs_volume.c,v 1.1.1.12 2003/04/13 19:02:39 hartmans Exp $");
+RCSID("$Header: /tmp/cvstemp/openafs/src/afs/afs_volume.c,v 1.1.1.13 2003/07/30 17:08:02 hartmans Exp $");
#include "../afs/stds.h"
#include "../afs/sysincludes.h" /* Standard vendor system headers */
#if !defined(UKERNEL)
+#if !defined(AFS_LINUX20_ENV)
#include <net/if.h>
+#endif
#include <netinet/in.h>
#ifdef AFS_SGI62_ENV
struct vfspage; /* for vnode.h compiler warnings */
# include "../h/swap.h" /* for struct swpdbd, for vnode.h compiler warnings */
# include "../h/dbd.h" /* for union idbd, for vnode.h compiler warnings */
+#ifdef AFS_HPUX110_ENV
+# include "../h/resource.h"
+#endif
# endif /* AFS_HPUX_ENV */
#if defined(AFS_DARWIN_ENV) || defined(AFS_FBSD40_ENV)
# include <sys/uio.h>
#ifdef AFS_SUN5_ENV
# include "../h/time.h"
#else
+#if !defined(AFS_HPUX_ENV)
# include "../h/mbuf.h"
+#endif
#endif /* AFS_SUN5_ENV */
#include "../rpc/types.h"
include ../config/Makefile.${SYS_NAME}
-CFLAGS=-g -I${TOP_SRCDIR}/config -I${TOP_INCDIR} ${XCFLAGS}
-LDFLAGS = -g ${XLDFLAGS}
+CFLAGS=${DBG} -I${TOP_SRCDIR}/config -I${TOP_INCDIR} ${XCFLAGS}
+LDFLAGS = ${XLDFLAGS}
INSTALLex = ${INSTALL} -m 755
afsd: afsd.o $(AFSLIBS)
case ${SYS_NAME} in \
sgi_61 | sgi_62 | sgi_63) \
- ${CC} ${CFLAGS} -g -o afsd afsd.o $(NON_SHARED) $(LDFLAGS) $(AFSLIBS) ${XLIBS} /usr/lib/libdwarf.a /usr/lib/libelf.a ;; \
+ ${CC} ${CFLAGS} -o afsd afsd.o $(NON_SHARED) $(LDFLAGS) $(AFSLIBS) ${XLIBS} /usr/lib/libdwarf.a /usr/lib/libelf.a ;; \
sgi_64 | sgi_65 ) \
- ${CC} ${CFLAGS} -g -o afsd afsd.o $(NON_SHARED) $(LDFLAGS) $(AFSLIBS) ${XLIBS} /usr/lib32/libdwarf.a /usr/lib32/libelf.a ;; \
+ ${CC} ${CFLAGS} -o afsd afsd.o $(NON_SHARED) $(LDFLAGS) $(AFSLIBS) ${XLIBS} /usr/lib32/libdwarf.a /usr/lib32/libelf.a ;; \
+ ppc_darwin* ) \
+ ${CC} ${CFLAGS} -o afsd afsd.o $(NON_SHARED) $(LDFLAGS) $(AFSLIBS) ${XLIBS} -F/System/Library/PrivateFrameworks -framework DiskArbitration ;; \
* ) \
- ${CC} ${CFLAGS} -g -o afsd afsd.o $(NON_SHARED) $(LDFLAGS) $(AFSLIBS) ${XLIBS} ;; \
+ ${CC} ${CFLAGS} -o afsd afsd.o $(NON_SHARED) $(LDFLAGS) $(AFSLIBS) ${XLIBS} ;; \
esac
vsys: vsys.o
- $(CC) -g -o vsys vsys.o ${TOP_LIBDIR}/libsys.a $(LDFLAGS) ${XLIBS}
+ $(CC) -o vsys vsys.o ${TOP_LIBDIR}/libsys.a $(LDFLAGS) ${XLIBS}
#
# Objects
${INSTALL} -f afs.rc.solaris.2_5 ${DEST}/root.client/usr/vice/etc/modload/afs.rc ;;\
alpha_osf* ) \
${INSTALL} -f afs.rc.alpha ${DEST}/root.client/usr/vice/etc/dkload/afs.rc ;;\
+ ia64_hpux1122 ) \
+ ${INSTALL} -f afs.rc.hpux10 ${DEST}/root.client/usr/vice/etc/dkload/afs.rc ;\
+ ${INSTALL} -f afs.hpux1122.driver ${DEST}/root.client/usr/vice/etc/afs.driver ;;\
hp_ux10? | hp_ux11? ) \
${INSTALL} -f afs.rc.hpux10 ${DEST}/root.client/usr/vice/etc/dkload/afs.rc ;\
${INSTALL} -f afs.hpux102.driver ${DEST}/root.client/usr/vice/etc/afs.driver ;;\
# Need the commands ps, awk, kill, sleep
PATH=${PATH}${PATH:+:}/sbin:/bin:/usr/bin
-if $KMODSTAT | grep -q openafs ; then
+if $KMODSTAT | perl -e 'exit not grep /openafs/, <>' ; then
:
else
if [ -d $VICEETC/afs.kext ]; then
exit 1
fi
fi
-if $KMODSTAT | grep -q openafs ; then
+if $KMODSTAT | perl -e 'exit not grep /openafs/, <>' ; then
:
else
echo "AFS kernel extensions failed to initialize. Skipping AFS startup."
#include <afsconfig.h>
#include <afs/param.h>
-RCSID("$Header: /tmp/cvstemp/openafs/src/afsd/afsd.c,v 1.1.1.17 2003/04/13 19:05:54 hartmans Exp $");
+RCSID("$Header: /tmp/cvstemp/openafs/src/afsd/afsd.c,v 1.1.1.18 2003/07/30 17:11:08 hartmans Exp $");
#define VFS 1
#ifdef AFS_LINUX20_ENV
#include <sys/resource.h>
#endif
+#ifdef AFS_DARWIN_ENV
+#include <mach/mach.h>
+/* Relevant definitions from DiskArbitration.h (not included with Mac OS X) */
+#ifndef __DISKARBITRATION_H
+typedef char DiskArbDiskIdentifier[1024];
+typedef char DiskArbMountpoint[1024];
+kern_return_t DiskArbStart(mach_port_t * portPtr);
+kern_return_t DiskArbDiskAppearedWithMountpointPing_auto(
+ DiskArbDiskIdentifier diskIdentifier,
+ unsigned flags,
+ DiskArbMountpoint mountpoint);
+kern_return_t DiskArbDiskDisappearedPing_auto(
+ DiskArbDiskIdentifier diskIdentifier,
+ unsigned flags);
+enum {
+ kDiskArbDiskAppearedNoFlags = 0x00000000,
+ kDiskArbDiskAppearedEjectableMask = 1 << 1,
+ kDiskArbDiskAppearedNetworkDiskMask = 1 << 3
+};
+#endif /* __DISKARBITRATION_H */
+#endif /* AFS_DARWIN_ENV */
#ifndef MOUNT_AFS
#define MOUNT_AFS AFS_MOUNT_AFS
#endif
static int enable_dynroot = 0; /* enable dynroot support */
static int enable_fakestat = 0; /* enable fakestat support */
+static int enable_nomount = 0; /* do not mount */
#ifdef notdef
static int inodes = 60; /* VERY conservative, but has to be */
#endif
/* -fakestat-all */
enable_fakestat = 1;
}
+ if (as->parms[29].items) {
+ /* -nomount */
+ enable_nomount = 1;
+ }
/*
* Pull out all the configuration info for the workstation's AFS cache and
exit(1);
}
+ if (!enable_nomount) {
+
mountFlags = 0; /* Read/write file system, can do setuid() */
#if defined(AFS_SUN_ENV) || defined(AFS_SUN5_ENV)
#ifdef AFS_SUN5_ENV
HandleMTab();
+ }
+
if (afsd_rmtsys) {
if (afsd_verbose)
printf("%s: Forking 'rmtsys' daemon.\n", rn);
cmd_AddParm(ts, "-dynroot", CMD_FLAG, CMD_OPTIONAL, "Enable dynroot support");
cmd_AddParm(ts, "-fakestat", CMD_FLAG, CMD_OPTIONAL, "Enable fakestat support for cross-cell mounts");
cmd_AddParm(ts, "-fakestat-all", CMD_FLAG, CMD_OPTIONAL, "Enable fakestat support for all mounts");
+ cmd_AddParm(ts, "-nomount", CMD_FLAG, CMD_OPTIONAL, "Do not mount AFS");
return (cmd_Dispatch(argc, argv));
}
#endif /* AFS_SGI_ENV */
#endif /* AFS_SUN5_ENV */
#endif /* unreasonable systems */
+#ifdef AFS_DARWIN_ENV
+ mach_port_t diskarb_port;
+ kern_return_t status;
+
+ status = DiskArbStart(&diskarb_port);
+ if (status == KERN_SUCCESS) {
+ status = DiskArbDiskAppearedWithMountpointPing_auto("AFS",
+ kDiskArbDiskAppearedNetworkDiskMask, cacheMountDir);
+ }
+
+ return status;
+#endif /* AFS_DARWIN_ENV */
return 0;
}
eparm[2] = param6;
eparm[3] = param7;
- param4 = eparm;
+ param4 = (long) eparm;
#endif
error = syscall(AFS_SYSCALL, AFSCALL_CALL, param1, param2, param3, param4, param5, param6, param7);
include ../config/Makefile.${SYS_NAME}
-CFLAGS=-g -I. \
+CFLAGS=${DBG} -I. \
-I${TOP_SRCDIR}/config \
-I${TOP_INCDIR} \
-I${TOP_INCDIR}/afs \
include ../config/Makefile.${SYS_NAME}
-UKERNELDIR=../libuafs/
+UKERNELDIR=../libuafs
COMPILE_ET=${TOP_SRCDIR}/comerr/compile_et
UKSRCS=nsafs.h nsafs.c securehash.c
#include <afsconfig.h>
#include <afs/param.h>
-RCSID("$Header: /tmp/cvstemp/openafs/src/auth/cellconfig.c,v 1.1.1.13 2002/09/26 19:04:53 hartmans Exp $");
+RCSID("$Header: /tmp/cvstemp/openafs/src/auth/cellconfig.c,v 1.1.1.14 2003/07/30 17:11:21 hartmans Exp $");
#include <afs/stds.h>
#include <afs/pthread_glock.h>
adir->alias_entries = curAlias;
}
+ if (tf != NULL) fclose(tf);
/* now read the fs keys, if possible */
adir->keystr = (struct afsconf_keys *) 0;
afsconf_IntGetKeys(adir);
if (aservice) {
LOCK_GLOBAL_MUTEX
tservice = afsconf_FindService(aservice);
- UNLOCK_GLOBAL_MUTEX
+ UNLOCK_GLOBAL_MUTEX
if (tservice < 0) {
return AFSCONF_NOTFOUND; /* service not found */
}
LOCK_GLOBAL_MUTEX
code = afsconf_Check(adir);
- if (code)
+ if (code) {
+ UNLOCK_GLOBAL_MUTEX
return AFSCONF_FAILURE;
+ }
memcpy(astr, adir->keystr, sizeof(struct afsconf_keys));
UNLOCK_GLOBAL_MUTEX
return 0;
LOCK_GLOBAL_MUTEX
code = afsconf_Check(adir);
- if (code)
+ if (code) {
+ UNLOCK_GLOBAL_MUTEX
return AFSCONF_FAILURE;
+ }
maxa = adir->keystr->nkeys;
best = -1; /* highest kvno we've seen yet */
LOCK_GLOBAL_MUTEX
code = afsconf_Check(adir);
- if (code)
+ if (code) {
+ UNLOCK_GLOBAL_MUTEX
return AFSCONF_FAILURE;
+ }
maxa = adir->keystr->nkeys;
for(tk = adir->keystr->key,i=0;i<maxa;i++,tk++) {
#include <afs/param.h>
#endif
-RCSID("$Header: /tmp/cvstemp/openafs/src/auth/ktc.c,v 1.1.1.8 2002/01/22 19:52:29 hartmans Exp $");
+RCSID("$Header: /tmp/cvstemp/openafs/src/auth/ktc.c,v 1.1.1.9 2003/07/30 17:11:22 hartmans Exp $");
#if defined(UKERNEL)
#include "../afs/sysincludes.h"
*/
int afs_tf_init(), afs_tf_get_pname(), afs_tf_get_pinst(), afs_tf_get_cred();
int afs_tf_save_cred(), afs_tf_close(), afs_tf_create();
-int afs_tf_dest_tkt(), ktc_LocalCell();
+int afs_tf_dest_tkt();
+/* except ktc_LocalCell which is still static
+ */
+static int ktc_LocalCell();
char *ktc_tkt_string();
#endif /* AFS_KERBEROS_ENV */
include ../config/Makefile.${SYS_NAME}
COMPILE_ET=${TOP_SRCDIR}/comerr/compile_et
-CFLAGS=-g -I${TOP_SRCDIR}/config -I${TOP_INCDIR} ${XCFLAGS}
+CFLAGS=${DBG} -I${TOP_SRCDIR}/config -I${TOP_INCDIR} ${XCFLAGS}
RPCINCLS=${TOP_INCDIR}/lwp.h ${TOP_INCDIR}/rx/rx.h bosint.h
INCLS=bnode.h \
${TOP_LIBDIR}/librxstat.a \
${TOP_LIBDIR}/librxkad.a \
${TOP_LIBDIR}/libdes.a \
- ${TOP_LIBDIR}/librx.a \
${TOP_LIBDIR}/libubik.a \
+ ${TOP_LIBDIR}/librx.a \
${TOP_LIBDIR}/libcom_err.a \
${TOP_LIBDIR}/util.a \
${TOP_LIBDIR}/libsys.a \
/* Define VERSIONINFO resource */
#define AFS_VERINFO_FILE_DESCRIPTION "AFS Basic OverSeer Command"
+#define AFS_VERINFO_NAME "bos"
+#define AFS_VERINFO_FILENAME "bos.exe"
#include "AFS_component_version_number.h"
#include "..\config\NTVersioninfo.rc"
#include <afsconfig.h>
#include <afs/param.h>
-RCSID("$Header: /tmp/cvstemp/openafs/src/bozo/bos_util.c,v 1.1 2002/01/22 19:52:32 hartmans Exp $");
+RCSID("$Header: /tmp/cvstemp/openafs/src/bozo/bos_util.c,v 1.1.1.2 2003/07/30 17:11:24 hartmans Exp $");
#include <sys/types.h>
#include <netinet/in.h>
printf("kvno %4d: key is '%s' '", tkeys.key[i].kvno, tbuffer);
strcpy(x,(char *)tbuffer);
for(count=0;count<8;count++)
- printf("\\%03o",(unsigned char *)x[count]);
+ printf("\\%03o", x[count]);
printf("'\n");
}
}
/* Define VERSIONINFO resource */
#define AFS_VERINFO_FILE_DESCRIPTION "AFS Basic OverSeer Server"
+#define AFS_VERINFO_NAME "bosserver"
+#define AFS_VERINFO_FILENAME "bosserver.exe"
#include "AFS_component_version_number.h"
#include "..\config\NTVersioninfo.rc"
include ../config/Makefile.${SYS_NAME}
-CFLAGS=-g -w -I${TOP_SRCDIR}/config -I${TOP_INCDIR} -I${TOP_INCDIR}/afs ${XCFLAGS}
+CFLAGS=${DBG} -w -I${TOP_SRCDIR}/config -I${TOP_INCDIR} -I${TOP_INCDIR}/afs ${XCFLAGS}
LDFLAGS = ${XLDFLAGS}
all: fms
/* Define VERSIONINFO resource */
#define AFS_VERINFO_FILE_DESCRIPTION "AFS File Mark Size Command"
+#define AFS_VERINFO_NAME "fms"
+#define AFS_VERINFO_FILENAME "fms.exe"
#include "AFS_component_version_number.h"
#include "..\config\NTVersioninfo.rc"
/* Define VERSIONINFO resource */
#define AFS_VERINFO_FILE_DESCRIPTION "AFS Backup Command"
+#define AFS_VERINFO_NAME "backup"
+#define AFS_VERINFO_FILENAME "backup.exe"
#include "AFS_component_version_number.h"
#include "..\config\NTVersioninfo.rc"
COMPILE_ET=${TOP_SRCDIR}/comerr/compile_et
RXGEN=${TOP_SRCDIR}/rxgen/rxgen
-CFLAGS=-g -I${TOP_SRCDIR}/config -I${TOP_INCDIR} ${XCFLAGS}
-LDFLAGS = -g ${XLDFLAGS}
+CFLAGS=${DBG} -I${TOP_SRCDIR}/config -I${TOP_INCDIR} ${XCFLAGS}
+LDFLAGS = ${XLDFLAGS}
INCLS=\
${TOP_INCDIR}/lock.h \
${TOP_INCDIR}/ubik.h \
all: ${TOP_LIBDIR}/libbudb.a ${TOP_INCDIR}/afs/budb.h ${TOP_INCDIR}/afs/budb_errs.h ${TOP_INCDIR}/afs/budb_client.h budb_server
-budb_errs.o: budb_errs.c
+#
+# budb_errs.o actually depends on neither budb_client.h nor budb_errs.h
+# but generating either of them will rebuild budb_errs.c
+#
+budb_errs.o: budb_errs.c budb_client.h budb_errs.h
budb_errs.c budb_client.h: budb_errs.et budb_client.p.h
$(RM) -f budb_client.h budb_errs.c; ${COMPILE_ET} budb_errs -h budb_client
/* Define VERSIONINFO resource */
#define AFS_VERINFO_FILE_DESCRIPTION "AFS Backup Database Server"
+#define AFS_VERINFO_NAME "buserver"
+#define AFS_VERINFO_FILENAME "buserver.exe"
#include "AFS_component_version_number.h"
#include "..\config\NTVersioninfo.rc"
#include <afsconfig.h>
#include <afs/param.h>
-RCSID("$Header: /tmp/cvstemp/openafs/src/budb/procs.c,v 1.1.1.5 2001/09/11 14:31:45 hartmans Exp $");
+RCSID("$Header: /tmp/cvstemp/openafs/src/budb/procs.c,v 1.1.1.6 2003/07/30 17:11:30 hartmans Exp $");
#ifdef AFS_NT40_ENV
#include <winsock2.h>
#include <sys/param.h>
#include <sys/time.h>
#include <sys/resource.h>
+#ifdef HAVE_STRING_H
+#include <string.h>
+#else
+#ifdef HAVE_STRINGS_H
#include <strings.h>
#endif
+#endif
+#endif
#include <sys/types.h>
#include <afs/stds.h>
#include <afs/bubasics.h>
include ../config/Makefile.${SYS_NAME}
-CFLAGS=-g -w ${INCDIRS} ${XCFLAGS} @XBSA_CFLAGS@
+CFLAGS=${DBG} -w ${INCDIRS} ${XCFLAGS} @XBSA_CFLAGS@
INCDIRS=-I${TOP_SRCDIR}/config -I${TOP_INCDIR}/afs \
-I${TOP_INCDIR}/rx -I${TOP_INCDIR}
/* Define VERSIONINFO resource */
#define AFS_VERINFO_FILE_DESCRIPTION "AFS Tape Coordinator Server"
+#define AFS_VERINFO_NAME "butc"
+#define AFS_VERINFO_FILENAME "butc.exe"
#include "AFS_component_version_number.h"
#include "..\config\NTVersioninfo.rc"
#include <afsconfig.h>
#include <afs/param.h>
-RCSID("$Header: /tmp/cvstemp/openafs/src/butc/dump.c,v 1.1.1.7 2002/09/26 19:05:11 hartmans Exp $");
+RCSID("$Header: /tmp/cvstemp/openafs/src/butc/dump.c,v 1.1.1.8 2003/07/30 17:11:31 hartmans Exp $");
#include <sys/types.h>
#ifdef AFS_NT40_ENV
* If we hit the end, see if this is the first volume on the tape or not.
* Also, mark the tape as finished if the tape contains other dumps.
*/
+ if (!code) code = rc;
if (HITEOT(code)) {
ErrorLog(2, taskId, code, tapeInfoPtr->error,
"Warning: Dump (%s) hit end-of-tape inferred\n",
#include <afsconfig.h>
#include <afs/param.h>
-RCSID("$Header: /tmp/cvstemp/openafs/src/butc/tcudbprocs.c,v 1.1.1.6 2001/09/11 14:31:53 hartmans Exp $");
+RCSID("$Header: /tmp/cvstemp/openafs/src/butc/tcudbprocs.c,v 1.1.1.7 2003/07/30 17:11:32 hartmans Exp $");
#include <sys/types.h>
#ifdef AFS_NT40_ENV
/* open the text file */
sprintf(filename, "%s/bu_XXXXXX", gettmpdir());
-#ifdef AFS_LINUX20_ENV
- fid = open(mkstemp(filename), O_RDWR|O_CREAT|O_EXCL, 0600);
+#if defined (HAVE_MKSTEMP)
+ fid = mkstemp(filename);
#else
fid = open(mktemp(filename), O_RDWR|O_CREAT|O_EXCL, 0600);
#endif
SHELL = /bin/sh
-CFLAGS=-g -w -I${TOP_SRCDIR}/config -I${TOP_INCDIR} ${XCFLAGS}
-LDFLAGS = -g ${XLDFLAGS}
+CFLAGS=${DBG} -w -I${TOP_SRCDIR}/config -I${TOP_INCDIR} ${XCFLAGS}
+LDFLAGS = ${XLDFLAGS}
INCLS=${TOP_INCDIR}/afs/com_err.h ${TOP_INCDIR}/afs/butm.h
LIBS=${TOP_LIBDIR}/libbubasics.a \
#include <afsconfig.h>
#include <afs/param.h>
-RCSID("$Header: /tmp/cvstemp/openafs/src/butm/file_tm.c,v 1.1.1.5 2001/09/11 14:31:57 hartmans Exp $");
+RCSID("$Header: /tmp/cvstemp/openafs/src/butm/file_tm.c,v 1.1.1.6 2003/07/30 17:11:35 hartmans Exp $");
#ifdef AFS_NT40_ENV
#include <winsock2.h>
#include <afs/usd.h>
#include "error_macros.h"
+#ifdef O_LARGEFILE
+typedef off64_t osi_lloff_t;
+#else /* O_LARGEFILE */
+#ifdef AFS_HAVE_LLSEEK
+typedef offset_t osi_lloff_t;
+#else /* AFS_HAVE_LLSEEK */
+typedef off_t osi_lloff_t;
+#endif /* AFS_HAVE_LLSEEK */
+#endif /* O_LARGEFILE */
extern int isafile;
* in succession (2 or 4 of them ).
*/
-
struct fileMark { /* in network byte order */
afs_int32 magic;
afs_uint32 nBytes;
if ( info->posCount >= 2147467264 ) /* 2GB - 16K */
{
info->posCount = 0;
-#if (defined(AFS_SUN_ENV) || defined(AFS_DEC_ENV))
+#if (defined(AFS_SUN_ENV) || defined(AFS_DEC_ENV) || defined(AFS_LINUX24_ENV))
if (!isafile)
{
hset64(off, 0, 0);
afs_int32 position;
{
afs_int32 code = 0;
- afs_int32 posit, w;
+ afs_int32 w;
+ osi_lloff_t posit;
+ afs_uint32 c, d;
struct progress *p;
afs_hyper_t startOff, stopOff; /* for normal file(non-tape) seeks */
if (isafile)
{
p = (struct progress *)info->tmRock;
- posit = (position * BUTM_BLOCKSIZE);
-
- hset64(startOff, 0, posit);
+ posit = (osi_lloff_t)position * (osi_lloff_t)BUTM_BLOCKSIZE;
+ /* Not really necessary to do it this way, should be fixed. */
+#ifdef O_LARGEFILE
+ c = (posit >> 32);
+ d = (posit & 0xffffffff);
+#else
+ c = 0;
+ d = posit;
+#endif
+ hset64(startOff, c, d);
+
w = USD_SEEK(p->fid, startOff, SEEK_SET, &stopOff);
if (w) info->error == w;
if (hcmp(startOff, stopOff) != 0) ERROR_EXIT(BUTM_POSITION);
AC_MSG_RESULT($ac_cv_linux_fs_struct_inode_has_i_bytes)
CPPFLAGS="$save_CPPFLAGS"])
+AC_DEFUN(LINUX_FS_STRUCT_INODE_HAS_I_ALLOC_SEM, [
+AC_MSG_CHECKING(for i_alloc_sem in struct inode)
+save_CPPFLAGS="$CPPFLAGS"
+CPPFLAGS="-I${LINUX_KERNEL_PATH}/include -D__KERNEL__ $CPPFLAGS"
+AC_CACHE_VAL(ac_cv_linux_fs_struct_inode_has_i_alloc_sem,
+[
+AC_TRY_COMPILE(
+[#include <linux/fs.h>],
+[struct inode _i;
+printf("%x\n", _i.i_alloc_sem);],
+ac_cv_linux_fs_struct_inode_has_i_alloc_sem=yes,
+ac_cv_linux_fs_struct_inode_has_i_alloc_sem=no)])
+AC_MSG_RESULT($ac_cv_linux_fs_struct_inode_has_i_alloc_sem)
+CPPFLAGS="$save_CPPFLAGS"])
+
AC_DEFUN(LINUX_FS_STRUCT_INODE_HAS_I_TRUNCATE_SEM, [
AC_MSG_CHECKING(for i_truncate_sem in struct inode)
save_CPPFLAGS="$CPPFLAGS"
+AC_DEFUN(LINUX_KERNEL_LINUX_SYSCALL_H,[
+ AC_MSG_CHECKING(for linux/syscall.h in kernel)
+ if test -f "${LINUX_KERNEL_PATH}/include/linux/syscall.h"; then
+ ac_linux_syscall=yes
+ AC_MSG_RESULT($ac_linux_syscall)
+ else
+ ac_linux_syscall=no
+ AC_MSG_RESULT($ac_linux_syscall)
+ fi
+])
+
AC_DEFUN(LINUX_NEED_RHCONFIG,[
RHCONFIG_SP=""
RHCONFIG_MP=""
CPPFLAGS="$save_CPPFLAGS"])
+AC_DEFUN(LINUX_EXPORTS_IA32_SYS_CALL_TABLE, [
+AC_MSG_CHECKING(for exported ia32_sys_call_table)
+save_CPPFLAGS="$CPPFLAGS"
+CPPFLAGS="-I${LINUX_KERNEL_PATH}/include -D__KERNEL__ $CPPFLAGS"
+AC_CACHE_VAL(ac_cv_linux_exports_ia32_sys_call_table,
+[
+AC_TRY_COMPILE(
+[#include <linux/modversions.h>],
+[#ifndef __ver_ia32_sys_call_table
+#error ia32_sys_call_table not exported
+#endif],
+ac_cv_linux_exports_ia32_sys_call_table=yes,
+ac_cv_linux_exports_ia32_sys_call_table=no)])
+AC_MSG_RESULT($ac_cv_linux_exports_ia32_sys_call_table)
+CPPFLAGS="$save_CPPFLAGS"])
+
+
AC_DEFUN(LINUX_EXPORTS_SYS_CHDIR, [
AC_MSG_CHECKING(for exported sys_chdir)
save_CPPFLAGS="$CPPFLAGS"
CPPFLAGS="$save_CPPFLAGS"])
+AC_DEFUN(LINUX_EXPORTS_SYS_WAIT4, [
+AC_MSG_CHECKING(for exported sys_wait4)
+save_CPPFLAGS="$CPPFLAGS"
+CPPFLAGS="-I${LINUX_KERNEL_PATH}/include -D__KERNEL__ $CPPFLAGS"
+AC_CACHE_VAL(ac_cv_linux_exports_sys_wait4,
+[
+AC_TRY_COMPILE(
+[#include <linux/modversions.h>],
+[#ifndef __ver_sys_wait4
+#error sys_wait4 not exported
+#endif],
+ac_cv_linux_exports_sys_wait4=yes,
+ac_cv_linux_exports_sys_wait4=no)])
+AC_MSG_RESULT($ac_cv_linux_exports_sys_wait4)
+CPPFLAGS="$save_CPPFLAGS"])
+
+
AC_DEFUN(LINUX_EXPORTS_TASKLIST_LOCK, [
AC_MSG_CHECKING(for exported tasklist_lock)
save_CPPFLAGS="$CPPFLAGS"
#
# libraries
MTLIBS=-lpthread
-TXLIBS= /usr/lib/libncurses.so
+TXLIBS=-lncurses
XLIBS= @LIB_AFSDB@
#
# programs
include Makefile.${SYS_NAME}
-CFLAGS=-g -I${TOP_INCDIR} ${XCFLAGS}
+CFLAGS=${DBG} -I${TOP_INCDIR} ${XCFLAGS}
INST=$(RM) -f $@; $(CP) $? $@
!ENDIF
#define used in WinNT/2000 installation and program version display
-AFSPRODUCT_VERSION=1.2.8
+AFSPRODUCT_VERSION=1.2.10
+AFSPRODUCT_FILE_VERSION=1,2,1000,0
CELLNAME_DEFAULT=openafs.org
CELLSERVDB_INSTALL=CellServDB.GrandCentral
CELLSERVDB_WEB=http://grand.central.org/dl/cellservdb/CellServDB
!ENDIF
!ENDIF
-#CHECK which VERSION of the complier we are using
-#v6.0 doesn't work using msvcrtd.lib unless AFSDEV_CRTDEBUG is defined, v7.0 requires it
-!IF ("$(AFSVER)"=="")
-!IF EXISTS("$(DESTDIR)\bin\util_cr.exe")
-!IF EXISTS("$(AFSDEV_BIN)\CL.exe")
-!IF (([$(DESTDIR)\bin\util_cr.exe __ $(AFSDEV_BIN)\CL.exe 7])==1)
-AFSVER_CL=70
-!ELSE
-AFSVER_CL=60
-!ENDIF
-!ELSE
-!MESSAGE WARNING-Complier version not available
-!ENDIF
-!ELSE
-!MESSAGE WARNING-Complier version not available
-!ENDIF
-!ENDIF
-
# Command macros.
COPY = copy
DEL = -del
# Common clean target.
# Double colon (::) syntax allows supplemental clean target to be specified.
clean::
- $(DEL) /q *.obj *.lib *.dll *.exe
+ $(DEL) /q *.obj *.lib *.dll *.exe *.res *.pdb
$(DEL) /q *_component_version_number.*
# Common lang target.
!IF ("$(AFSDEV_BUILDTYPE)" == "FREE")
# Apply full optimization; generate full debug info in obj.
-afscflags = $(afscflags) /Ox /Z7
+afscflags = $(afscflags) /Ox
ldebug = $(ldebug)
-cdebug = $(cdebug:-Od=) # avoid annoying override warning (D4025)
+cdebug = $(cdebug:-Od=)
cvarsdll = $(cvarsdll:-MDd=-MD)
!ELSEIF ("$(AFSDEV_BUILDTYPE)" == "CHECKED")
# Disable optimization; generate full debug info in obj.
-afscflags = $(afscflags) /Od /Z7
+afscflags = $(afscflags) /Od
+!IF ("$(AFSVER_CL)"=="60")
ldebug = $(ldebug) -debugtype:both
-cdebug = $(cdebug:-Z7=-Z7) # avoid annoying override warning (D4025)
+!ENDIF
+cdebug =
!ENDIF
# Set compiler warning level
!ENDIF
# C/C++ compilation macros
-C2OBJ = $(cc) $(cflags) $(cdebug) $(cvarsdll) $(afscflags) $(afscdefs) /c
-CPP2OBJ = $(cc) $(cflags) $(cdebug) $(cvarsdll) $(afscflags) $(afscdefs) /c
+C2OBJ = $(cc) $(cflags:-GS=) $(cdebug) $(cvarsdll) $(afscflags) $(afscdefs) /c
+CPP2OBJ = $(cc) $(cflags:-GS=) $(cdebug) $(cvarsdll) $(afscflags) $(afscdefs) /c
# Resource compiler macro
RC = $(rc) $(rcvars) $(rcflags) $(AFSDEV_AUXRCFLAGS) /d "AFSPRODUCT_VERSION=\"$(AFSPRODUCT_VERSION)\""
$(VERSFILE).h:
echo #define AFS_VERINFO_BUILD "OpenAFS$(AFSPRODUCT_VERSION)" >$(VERSFILE).h
+ echo #define AFS_VERINFO_FILEVER $(AFSPRODUCT_FILE_VERSION) >>$(VERSFILE).h
$(VERSFILE).txt:
echo OpenAFS$(AFSPRODUCT_VERSION)>$(VERSFILE).txt
#include <winver.h>
1 VERSIONINFO
+ FILEVERSION AFS_VERINFO_FILEVER
+ PRODUCTVERSION AFS_VERINFO_FILEVER
+ FILEOS VOS_NT
+#ifdef AFS_VERINFO_DLL
+ FILETYPE VFT_DLL
+#else
+ FILETYPE VFT_APP
+#endif
BEGIN
BLOCK "StringFileInfo"
/* FileVersion must be specified or data won't appear on properties tab */
+ /* Internalname and originalfilename must be specified or explorer won't
+ show version and description */
BEGIN
BLOCK "040904E4"
BEGIN
VALUE "CompanyName", "OpenAFS Project", "\0"
- VALUE "LegalCopyright", "Copyright \251 IBM Corporation and others, 1998, 1999, 2000, 2001.", "\0"
+ VALUE "LegalCopyright", "Copyright \251 IBM Corporation and others, 1998, 1999, 2000, 2001, 2002, 2003.", "\0"
VALUE "ProductName", "OpenAFS for Windows", "\0"
- VALUE "ProductVersion", "1.1", "\0"
- VALUE "FileVersion", "1.1", "\0"
+ VALUE "ProductVersion", AFSPRODUCT_VERSION, "\0"
+ VALUE "FileVersion", AFSPRODUCT_VERSION, "\0"
VALUE "FileDescription", AFS_VERINFO_FILE_DESCRIPTION, "\0"
VALUE "Build", AFS_VERINFO_BUILD, "\0"
+ VALUE "InternalName", AFS_VERINFO_NAME, "\0"
+ VALUE "OriginalFilename", AFS_VERINFO_FILENAME, "\0"
END
END
+ /* files in msi's are supposed to have language codes attached to them.
+ this is how they get populated automatically */
+ BLOCK "VarFileInfo"
+ BEGIN
+#ifdef AFS_VERINFO_LANG_CODE
+ VALUE "Translation", AFS_VERINFO_LANG_CODE, AFS_VERINFO_CHARSET
+#else
+/* default to 0, 1252 */
+ VALUE "Translation", 0, 0x4e4
+#endif
+ END
END
* directory or online at http://www.openafs.org/dl/license10.html
*/
+#define SYS_NAME_ID_i386_umlinux2 2700
+#define SYS_NAME_ID_i386_umlinux22 2701
+#define SYS_NAME_ID_i386_umlinux24 2702
+
/*
* File: afs_sysnames.h
*
#define SYS_NAME_ID_hp800_ux101 413
#define SYS_NAME_ID_hp_ux102 414
#define SYS_NAME_ID_hp_ux110 415
+#define SYS_NAME_ID_hp_ux11i 416
+#define SYS_NAME_ID_ia64_hpux1122 417
+
#define SYS_NAME_ID_mac2_51 500
#define SYS_NAME_ID_mac_aux10 501
#define SYS_NAME_ID_parisc_linux22 2401
#define SYS_NAME_ID_parisc_linux24 2402
+#define SYS_NAME_ID_amd64_linux2 2700
+#define SYS_NAME_ID_amd64_linux22 2701
+#define SYS_NAME_ID_amd64_linux24 2702
/*
* Placeholder to keep system-wide standard flags since this file is included by all
* files (i.e in afs/param.h)
include ../config/Makefile.${SYS_NAME}
COMPILE_ET=${TOP_SRCDIR}/comerr/compile_et
-OPTMZ= -g
-CFLAGS=${OPTMZ} -I${TOP_SRCDIR}/config -I${TOP_INCDIR} ${XCFLAGS}
-LDFLAGS = ${OPTMZ} ${XLDFLAGS}
+CFLAGS=${DBG} -I${TOP_SRCDIR}/config -I${TOP_INCDIR} ${XCFLAGS}
+LDFLAGS = ${XLDFLAGS}
INCLS=${TOP_INCDIR}/ubik.h \
${TOP_INCDIR}/lwp.h \
#ifdef AFS_IA64_LINUX20_ENV
#include "conf-ia64-linux.h"
#else
+#ifdef AFS_AMD64_LINUX20_ENV
+#include "conf-amd64-linux.h"
+#else
#include "conf-i386-linux.h"
+#endif /* AFS_AMD64_LINUX20_ENV */
#endif /* AFS_IA64_LINUX20_ENV */
#endif /* AFS_ALPHA_LINUX20_ENV */
#endif /* AFS_S390_LINUX20_ENV */
#include <afsconfig.h>
#include <afs/param.h>
-RCSID("$Header: /tmp/cvstemp/openafs/src/des/crypt.c,v 1.1.1.6 2002/06/10 11:45:53 hartmans Exp $");
+RCSID("$Header: /tmp/cvstemp/openafs/src/des/crypt.c,v 1.1.1.7 2003/07/30 17:11:51 hartmans Exp $");
#ifdef AFS_NT40_ENV
#include <windows.h>
* define "LONG_IS_32_BITS" only if sizeof(long)==4.
* This avoids use of bit fields (your compiler may be sloppy with them).
*/
-#if !defined(cray) && !defined(AFS_ALPHA_LINUX20_ENV) && !defined(AFS_IA64_LINUX20_ENV)
+
+/* XXX shouldn't this be !AFS_64BIT_ENV ? */
+#if !defined(cray) && !defined(AFS_ALPHA_LINUX20_ENV) && !defined(AFS_IA64_LINUX20_ENV) && !defined(AFS_AMD64_LINUX20_ENV)
#define LONG_IS_32_BITS
#endif
include ../config/Makefile.${SYS_NAME}
-KERNELDIR = ../libafs/
-UKERNELDIR = ../libuafs/
+KERNELDIR = ../libafs
+UKERNELDIR = ../libuafs
INCDIRS=-I${TOP_SRCDIR}/config -I${TOP_INCDIR} ${XINCLS}
CFLAGS = ${OPTMZ} ${INCDIRS} ${XCFLAGS}
#include <afsconfig.h>
#include <afs/param.h>
-RCSID("$Header: /tmp/cvstemp/openafs/src/dir/dir.c,v 1.1.1.6 2002/09/26 19:05:59 hartmans Exp $");
+RCSID("$Header: /tmp/cvstemp/openafs/src/dir/dir.c,v 1.1.1.7 2003/07/30 17:11:54 hartmans Exp $");
#ifdef KERNEL
#if !defined(UKERNEL)
#ifndef AFS_LINUX20_ENV
#include "../netinet/in.h"
#endif
-#if !defined(AFS_SUN5_ENV) && !defined(AFS_LINUX20_ENV)
+#if !defined(AFS_SUN5_ENV) && !defined(AFS_LINUX20_ENV) && !defined(AFS_HPUX110_ENV)
#include "../h/mbuf.h"
#endif
#else /* !defined(UKERNEL) */
include ../../config/Makefile.${SYS_NAME}
-KERNELDIR = ../libafs/
+KERNELDIR = ../libafs
INSTALL = ${SRCDIR}/bin/install
INCDIRS= -I${DESTDIR}/include ${XINCLS}
include ../config/Makefile.${SYS_NAME}
-KERNELDIR = ../libafs/
-UKERNELDIR = ../libuafs/
+KERNELDIR = ../libafs
+UKERNELDIR = ../libuafs
DEFS =
INCS = -I${TOP_SRCDIR}/config -I${TOP_INCDIR}
CFLAGS = ${OPTMZ} ${DEFS} ${INCS}
SHELL = /bin/sh
include ../config/Makefile.${SYS_NAME}
-CFLAGS=-g -I${TOP_SRCDIR}/config -I${TOP_INCDIR} ${XCFLAGS}
-LDFLAGS = -g ${XLDFLAGS}
+CFLAGS=${DBG} -I${TOP_SRCDIR}/config -I${TOP_INCDIR} ${XCFLAGS}
+LDFLAGS = ${XLDFLAGS}
INCLS=${TOP_INCDIR}/ubik.h \
${TOP_INCDIR}/lwp.h \
${TOP_INCDIR}/lock.h \
/* Define VERSIONINFO resource */
#define AFS_VERINFO_FILE_DESCRIPTION "AFS Error Translation Command"
+#define AFS_VERINFO_NAME "translate_et"
+#define AFS_VERINFO_FILENAME "translate_et.exe"
#include "AFS_component_version_number.h"
#include "..\config\NTVersioninfo.rc"
include ../config/Makefile.${SYS_NAME}
SHELL = /bin/sh
-KERNELDIR = ../libafs/
-UKERNELDIR = ../libuafs/
+KERNELDIR = ../libafs
+UKERNELDIR = ../libuafs
OBJS=afsaux.o afscbint.cs.o afscbint.ss.o afscbint.xdr.o afsint.cs.o afsint.ss.o afsint.xdr.o
CFLAGS=${DBUG} -I${TOP_SRCDIR}/config -I${TOP_INCDIR} ${XCFLAGS}
include ../config/Makefile.${SYS_NAME}
-CFLAGS=-g -I. \
+CFLAGS=${DBG} -I. \
-I${TOP_SRCDIR}/config \
-I${TOP_INCDIR} \
-I${TOP_INCDIR}/afs \
- -I${SRCDIR} \
- -I/usr/include ${XCFLAGS}
+ -I${TOP_SRCDIR} \
+ ${XCFLAGS}
RPCINCLS=${TOP_INCDIR}/lwp.h ${TOP_INCDIR}/rx/rx.h
/* Define VERSIONINFO resource */
#define AFS_VERINFO_FILE_DESCRIPTION "AFS Authentication Database Command"
+#define AFS_VERINFO_NAME "kas"
+#define AFS_VERINFO_FILENAME "kas.exe"
#include "AFS_component_version_number.h"
#include "..\config\NTVersioninfo.rc"
/* Define VERSIONINFO resource */
#define AFS_VERINFO_FILE_DESCRIPTION "AFS Authentication Database Server"
+#define AFS_VERINFO_NAME "kaserver"
+#define AFS_VERINFO_FILENAME "kaserver.exe"
#include "AFS_component_version_number.h"
#include "..\config\NTVersioninfo.rc"
/* Define VERSIONINFO resource */
#define AFS_VERINFO_FILE_DESCRIPTION "AFS Password Change Command"
+#define AFS_VERINFO_NAME "kpasswd"
+#define AFS_VERINFO_FILENAME "kpasswd.exe"
#include "AFS_component_version_number.h"
#include "..\config\NTVersioninfo.rc"
INCDIRS=-I${TOP_SRCDIR}/config -I${TOP_INCDIR} -I.. \
-I${BACKDIR}/include -I${TOP_INCDIR}/afs
-KERNELDIR = ../libafs/
-UKERNELDIR = ../libuafs/
+KERNELDIR = ../libafs
+UKERNELDIR = ../libuafs
CFLAGS = ${OPTMZ} ${INCDIRS} ${LDIRS} ${LIBS} ${XCFLAGS}
/* Define VERSIONINFO resource */
#define AFS_VERINFO_FILE_DESCRIPTION "AFS Administration Utilities DLL"
+#define AFS_VERINFO_DLL
+#define AFS_VERINFO_NAME "afsadminutil"
+#define AFS_VERINFO_FILENAME "afsadminutil.dll"
#include "AFS_component_version_number.h"
#include "..\..\config\NTVersioninfo.rc"
/* Define VERSIONINFO resource */
#define AFS_VERINFO_FILE_DESCRIPTION "AFS Basic OverSeer Interface DLL"
+#define AFS_VERINFO_DLL
+#define AFS_VERINFO_NAME "afsbosadmin"
+#define AFS_VERINFO_FILENAME "afsbosadmin.dll"
#include "AFS_component_version_number.h"
#include "..\..\config\NTVersioninfo.rc"
/* Define VERSIONINFO resource */
#define AFS_VERINFO_FILE_DESCRIPTION "AFS Configuration Interface DLL"
+#define AFS_VERINFO_DLL
+#define AFS_VERINFO_NAME "afscfgadmin"
+#define AFS_VERINFO_FILENAME "afscfgadmin.dll"
#include "AFS_component_version_number.h"
#include "..\..\config\NTVersioninfo.rc"
/* Define VERSIONINFO resource */
#define AFS_VERINFO_FILE_DESCRIPTION "AFS Client Interface DLL"
+#define AFS_VERINFO_DLL
+#define AFS_VERINFO_NAME "afsclientadmin"
+#define AFS_VERINFO_FILENAME "afsclientadmin.dll"
#include "AFS_component_version_number.h"
#include "..\..\config\NTVersioninfo.rc"
/* Define VERSIONINFO resource */
#define AFS_VERINFO_FILE_DESCRIPTION "AFS Authentication Database Interface DLL"
+#define AFS_VERINFO_DLL
+#define AFS_VERINFO_NAME "afskasadmin"
+#define AFS_VERINFO_FILENAME "afskasadmin.dll"
#include "AFS_component_version_number.h"
#include "..\..\config\NTVersioninfo.rc"
#include <afsconfig.h>
#include <afs/param.h>
-RCSID("$Header: /tmp/cvstemp/openafs/src/libadmin/pts/afs_ptsAdmin.c,v 1.1.1.5 2002/05/10 23:59:34 hartmans Exp $");
+RCSID("$Header: /tmp/cvstemp/openafs/src/libadmin/pts/afs_ptsAdmin.c,v 1.1.1.6 2003/07/30 17:12:12 hartmans Exp $");
#include <stdio.h>
#include <afs/stds.h>
* We can retrieve the next group from data we already received
*/
- strcpy(&list->group[slot], &list->owned_names.namelist_val[list->index]);
+ strcpy(list->group[slot], list->owned_names.namelist_val[list->index]);
list->index++;
/*
afs_status_t tst = 0;
owned_group_list_p list = (owned_group_list_p) rpc_specific;
- strcpy((char *) dest, &list->group[slot]);
+ strcpy((char *) dest, list->group[slot]);
rc = 1;
if (st != NULL) {
* We can retrieve the next entry from data we already received
*/
- strcpy(&list->entries[slot], list->currName->name);
+ strcpy(list->entries[slot], list->currName->name);
list->index++;
list->currName++;
afs_status_t tst = 0;
pts_list_p list = (pts_list_p) rpc_specific;
- strcpy((char *) dest, &list->entries[slot]);
+ strcpy((char *) dest, list->entries[slot]);
rc = 1;
if (st != NULL) {
/* Define VERSIONINFO resource */
#define AFS_VERINFO_FILE_DESCRIPTION "AFS Protection Database Interface DLL"
+#define AFS_VERINFO_DLL
+#define AFS_VERINFO_NAME "afsptsadmin"
+#define AFS_VERINFO_FILENAME "afsptsadmin.dll"
#include "AFS_component_version_number.h"
#include "..\..\config\NTVersioninfo.rc"
/* Define VERSIONINFO resource */
#define AFS_VERINFO_FILE_DESCRIPTION "AFS Volume Interface DLL"
+#define AFS_VERINFO_DLL
+#define AFS_VERINFO_NAME "afsvosadmin"
+#define AFS_VERINFO_FILENAME "afsvosadmin.dll"
#include "AFS_component_version_number.h"
#include "..\..\config\NTVersioninfo.rc"
# seems to hang). When the compiler sees the +ES1.Xindirect_calls
# option, however, it issues a warning and turns off +Z.
#
+<hp_ux110 hp_ux102 hp_ux11i>
KDEFS= +ES1.Xindirect_calls +XixdU +Hx0 +ESlit +ESsfc +ESssf -Wp,-H300000 -D_KERNEL -D_KERNEL_BUILD -D_UNSUPPORTED \
-DMP +R500 -Wl,+k $(CPU_KDEFS)
KDEFS_32 = +DA1.0 +DS1.0
# warning 478: "+Z" and "+ES1.Xindirect_calls" are mutually exclusive. "+Z" ignored.
# warning 530: LP64 migration: Casting from loose to strict alignment: Resulting pointer may be misaligned.
KDEFS_64 = +DA2.0W +DS2.0 +M2 +W 478,530
+
+<ia64_hpux1122>
+KDEFS= +kernel -Wp,-H300000 -D_KERNEL -D_KERNEL_BUILD -D_UNSUPPORTED \
+ -DFINE_GRAINED_PROTO_FILES \
+ -DMP -Wl,+k $(CPU_KDEFS)
+KDEFS_32 =
+KDEFS_64 = +DD64
+
+<all>
+
DEFINES= -DAFSDEBUG -DKERNEL -DAFS -DVICE -DNFS -DUFS -DINET -DQUOTA -DGETMOUNT -DHPONCPLUS
OPTF=${OPT}
OPTF2=${OPT2}
-CFLAGS=-I. -I.. -I../h -I../nfs -I${TOP_SRCDIR}/config ${FSINCLUDES} $(DEFINES) $(KDEFS) $(KOPTS) ${DBUG}
+CFLAGS=-I. -I.. -I../h -I../nfs -I../conf -I${TOP_SRCDIR}/config ${FSINCLUDES} $(DEFINES) $(KDEFS) $(KOPTS) ${DBUG}
# Name of directory to hold object files and libraries.
KOBJ=STATIC
include Makefile.common
+<hp_ux11i hp_ux110 hp_ux102>
BITS = 64 32
+<ia64_hpux1122>
+BITS = 64
+<all>
setup:
- -$(RM) -f h net dux machine netinet nfs rpc s200 ufs sys
+ -$(RM) -f h net dux machine netinet nfs rpc s200 ufs sys conf
+<hp_ux102>
ln -s /usr/include/sys h
+<hp_ux110 hp_ux11i ia64_hpux1122>
+ ln -s /etc/conf/h h
+<all>
+ ln -s /etc/conf conf
ln -s /etc/conf/net net
ln -s /etc/conf/dux dux
ln -s /etc/conf/machine machine
ln -s /etc/conf/nfs nfs
ln -s /usr/include/rpc rpc
ln -s /etc/conf/machine s200
+<hp_ux11i hp_ux110 hp_ux102>
ln -s /etc/conf/ufs ufs
+<ia64_hpux1122>
+ ln -s /etc/conf/sys ufs
+<all>
ln -s /usr/include/sys sys
for b in $(BITS); do \
for t in $(KOBJ); do \
DEST_LIBAFSNONFS = ${DEST}/root.client/usr/vice/etc/modload/${LIBAFSNONFS}
<sun4x_57 sun4x_58 sun4x_59 sunx86_57 sunx86_58 sunx86_59>
+INST_LIBAFSNONFS = ${DESTDIR}${afskerneldir}/libafs${BITS}.nonfs.o
+INST_LIBAFS = ${DESTDIR}${afskerneldir}/libafs${BITS}.o
-libafs: ${LIBAFSNONFS} ${LIBAFS}
-
-install_libafs: ${LIBAFSNONFS} ${LIBAFS}
- ${INSTALL} -f ${LIBAFSNONFS} ${DESTDIR}${afskerneldir}/libafs${BITS}.nonfs.o
- ${INSTALL} -f ${LIBAFS} ${DESTDIR}${afskerneldir}/libafs${BITS}.o
-
-dest_libafs: ${LIBAFSNONFS} ${LIBAFS}
- ${INSTALL} -f ${LIBAFSNONFS} ${DEST}/root.client/usr/vice/etc/modload/libafs${BITS}.nonfs.o
- ${INSTALL} -f ${LIBAFS} ${DEST}/root.client/usr/vice/etc/modload/libafs${BITS}.o
+DEST_LIBAFSNONFS = ${DEST}/root.client/usr/vice/etc/modload/libafs${BITS}.nonfs.o
+DEST_LIBAFS = ${DEST}/root.client/usr/vice/etc/modload/libafs${BITS}.o
<all>
# Without this line, gmake tries to build libafs.o
<key>CFBundlePackageType</key>
<string>KEXT</string>
<key>CFBundleShortVersionString</key>
- <string>@VERSION@</string>
+ <string>1.2.9f1</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
- <string>@VERSION@</string>
+ <string>1.2.9f1</string>
<key>OSBundleLibraries</key>
<dict>
<key>com.apple.kernel.bsd</key>
<key>CFBundlePackageType</key>
<string>KEXT</string>
<key>CFBundleShortVersionString</key>
- <string>@VERSION@</string>
+ <string>1.2.9f1</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
- <string>@VERSION@</string>
+ <string>1.2.9f1</string>
<key>OSBundleLibraries</key>
<dict>
<key>com.apple.kernel.bsd</key>
<key>CFBundlePackageType</key>
<string>KEXT</string>
<key>CFBundleShortVersionString</key>
- <string>@VERSION@</string>
+ <string>1.2.9f1</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
- <string>@VERSION@</string>
+ <string>1.2.9f1</string>
<key>OSBundleLibraries</key>
<dict>
<key>com.apple.kernel.bsd</key>
<key>CFBundlePackageType</key>
<string>KEXT</string>
<key>CFBundleShortVersionString</key>
- <string>@VERSION@</string>
+ <string>1.2.9f1</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
- <string>@VERSION@</string>
+ <string>1.2.9f1</string>
<key>OSBundleLibraries</key>
<dict>
<key>com.apple.kernel.bsd</key>
/* Define VERSIONINFO resource */
#define AFS_VERINFO_FILE_DESCRIPTION "AFS Authentication Utilities DLL"
+#define AFS_VERINFO_DLL
+#define AFS_VERINFO_NAME "afsauthent"
+#define AFS_VERINFO_FILENAME "afsauthent.dll"
#include "AFS_component_version_number.h"
#include "..\config\NTVersioninfo.rc"
/* Define VERSIONINFO resource */
#define AFS_VERINFO_FILE_DESCRIPTION "AFS Rx RPC DLL"
+#define AFS_VERINFO_DLL
+#define AFS_VERINFO_NAME "afsrpc"
+#define AFS_VERINFO_FILENAME "afsrpc.dll"
#include "AFS_component_version_number.h"
#include "..\config\NTVersioninfo.rc"
#
SHELL=/bin/sh
-INCLUDE= -I. -I/usr/include -I${TOP_SRCDIR}/config
+INCLUDE= -I. -I${TOP_SRCDIR}/config
UOBJ =../UAFS
WEBOBJ =../AFSWEB
AFS =../afs
# System specific build commands and flags
CC = /opt/ansic/bin/cc
DEFINES= -D_REENTRANT -DAFSDEBUG -DKERNEL -DUKERNEL -DAFS -DVICE
+<hp_ux102 hp_ux110 hp_ux11i>
KOPTS=-Wp,-H200000 -Wl,-a,archive +DA1.0 +z
+<ia64_hpux1122>
+KOPTS=-Wp,-H200000 -Wl,-a,archive_shared
+<all>
CFLAGS=-I. -I.. -I${TOP_SRCDIR}/config ${FSINCLUDES} $(DEFINES) $(KOPTS) ${DBUG}
OPTF=-O
WEBOPTS = -I../nsapi -DNETSCAPE_NSAPI -DNET_SSL -DXP_UNIX -DMCC_HTTPD
+<hp_ux102 hp_ux110 hp_ux11i>
TEST_CFLAGS= -Wp,-H200000 +DA1.0 +z -D_POSIX_C_SOURCE=199506L -DAFS_PTHREAD_ENV -Dhpux -DAFS_HPUX_ENV
+<ia64_hpux1122>
+TEST_CFLAGS= -Wp,-H200000 -D_POSIX_C_SOURCE=199506L -DAFS_PTHREAD_ENV -Dhpux -DAFS_HPUX_ENV
+<all>
TEST_LDFLAGS=
TEST_LIBS=-lnsl -lm -lpthread -ldld -lc
${TOP_LIBDIR}/liblwp.a ${TOP_LIBDIR}/libcmd.a \
${TOP_LIBDIR}/libcom_err.a ${TOP_LIBDIR}/util.a
-INCLUDES=-I${TOP_SRCDIR}/config -I${TOP_INCDIR} -I/usr/include -I/usr/include/sys
-CFLAGS= -g ${XCFLAGS} ${INCLUDES}
+INCLUDES=-I${TOP_SRCDIR}/config -I${TOP_INCDIR}
+CFLAGS= ${DBG} ${XCFLAGS} ${INCLUDES}
LIBC= /lib/libc.a
SRCS= login.c
OBJS= login.o setenv.o getenv.o libutil.a
login: ${OBJS} ${LIBS}
case ${SYS_NAME} in \
- sun4x_5? | sunx86_5? ) ${CC} -g -o $@ ${CFLAGS} ${OBJS} -lc ${LIBS} ${XLIBS} -lcmd;;\
- *) ${CC} -g -o $@ ${CFLAGS} ${OBJS} ${LIBS} ${XLIBS} ;;\
+ sun4x_5? | sunx86_5? ) ${CC} -o $@ ${CFLAGS} ${OBJS} -lc ${LIBS} ${XLIBS} -lcmd;;\
+ *) ${CC} -o $@ ${CFLAGS} ${OBJS} ${LIBS} ${XLIBS} ;;\
esac
login.krb: ${KOBJS} ${KLIBS}
case ${SYS_NAME} in \
- sun4x_5? | sunx86_5? ) ${CC} -g -o $@ ${CFLAGS} ${KOBJS} -lc ${KLIBS} ${XLIBS} -lcmd;;\
- *) ${CC} -g -o $@ ${CFLAGS} ${KOBJS} ${KLIBS} ${XLIBS} ;;\
+ sun4x_5? | sunx86_5? ) ${CC} -o $@ ${CFLAGS} ${KOBJS} -lc ${KLIBS} ${XLIBS} -lcmd;;\
+ *) ${CC} -o $@ ${CFLAGS} ${KOBJS} ${KLIBS} ${XLIBS} ;;\
esac
libutil.a : ${UTILOBJS}
include ../config/Makefile.${SYS_NAME}
-INCLUDES=-I/usr/include -I${TOP_SRCDIR}/config -I${TOP_INCDIR}
+INCLUDES=-I${TOP_SRCDIR}/config -I${TOP_INCDIR}
DBGFLAG = -UDEBUG
CFLAGS = ${DBUG} -DKFLAG -DANDREW -DVICE $(DBGFLAG) $(INCLUDES) $(XCFLAGS)
YFLAGS = -vd
include ../config/Makefile.${SYS_NAME}
LIBS= ${XLIBS}
-CFLAGS=${OPTMZ} -g -I. -I${TOP_INCDIR} -I${TOP_SRCDIR}/config ${XCFLAGS}
+CFLAGS=${OPTMZ} ${DBG} -I. -I${TOP_INCDIR} -I${TOP_SRCDIR}/config ${XCFLAGS}
all: pinstall
/* Define VERSIONINFO resource */
#define AFS_VERINFO_FILE_DESCRIPTION "AFS Signal Process Command"
+#define AFS_VERINFO_NAME "afskill"
+#define AFS_VERINFO_FILENAME "afskill.exe"
#include "AFS_component_version_number.h"
#include "..\config\NTVersioninfo.rc"
/* Define VERSIONINFO resource */
#define AFS_VERINFO_FILE_DESCRIPTION "AFS Process Management DLL"
+#define AFS_VERINFO_DLL
+#define AFS_VERINFO_NAME "afsprocmgmt"
+#define AFS_VERINFO_FILENAME "afsprocmgmt.dll"
#include "AFS_component_version_number.h"
#include "..\config\NTVersioninfo.rc"
include ../config/Makefile.${SYS_NAME}
-UKERNELDIR=../libuafs/
+UKERNELDIR=../libuafs
RXGEN=${TOP_SRCDIR}/rxgen/rxgen
COMPILE_ET=${TOP_SRCDIR}/comerr/compile_et
/* Define VERSIONINFO resource */
#define AFS_VERINFO_FILE_DESCRIPTION "AFS Protection Database Command"
+#define AFS_VERINFO_NAME "pts"
+#define AFS_VERINFO_FILENAME "pts.exe"
#include "AFS_component_version_number.h"
#include "..\config\NTVersioninfo.rc"
/* Define VERSIONINFO resource */
#define AFS_VERINFO_FILE_DESCRIPTION "AFS Protection Database Server"
+#define AFS_VERINFO_NAME "ptserver"
+#define AFS_VERINFO_FILENAME "ptserver.exe"
#include "AFS_component_version_number.h"
#include "..\config\NTVersioninfo.rc"
#define MUTEX_TRYENTER(a) b_cpsema(a)
+#ifdef AFS_HPUX1111_ENV
+#define MUTEX_ENTER(a) \
+ ((b_owns_sema(a)) ? osi_Panic("Already Held") : b_psema(a))
+#define MUTEX_EXIT(a) \
+ ((b_owns_sema(a)) ? b_vsema(a) : osi_Panic("mutex not held"))
+#else
#define MUTEX_ENTER(a) \
((b_owns_sema(a)) ? (osi_Panic("Already Held"), 0) : b_psema(a))
#define MUTEX_EXIT(a) \
((b_owns_sema(a)) ? b_vsema(a) : (osi_Panic("mutex not held"), 0))
+#endif
#undef MUTEX_ISMINE
#define MUTEX_ISMINE(a) b_owns_sema(a)
#include <afsconfig.h>
#include "../afs/param.h"
-RCSID("$Header: /tmp/cvstemp/openafs/src/rx/LINUX/rx_knet.c,v 1.1.1.10 2003/04/13 19:07:29 hartmans Exp $");
+RCSID("$Header: /tmp/cvstemp/openafs/src/rx/LINUX/rx_knet.c,v 1.1.1.11 2003/07/30 17:12:50 hartmans Exp $");
#include <linux/version.h>
#ifdef AFS_LINUX22_ENV
#endif
listener = find_task_by_pid(rxk_ListenerPid);
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,0)
- read_unlock(&tasklist_lock);
+ read_unlock(&tasklist_lock);
#endif
while (rxk_ListenerPid) {
+ struct task_struct *p;
+
+ flush_signals(listener);
force_sig(SIGKILL, listener);
afs_osi_Sleep(&rxk_ListenerPid);
}
#include <afsconfig.h>
#include "../afs/param.h"
-RCSID("$Header: /tmp/cvstemp/openafs/src/rx/SOLARIS/rx_knet.c,v 1.1.1.10 2003/04/13 19:07:29 hartmans Exp $");
+RCSID("$Header: /tmp/cvstemp/openafs/src/rx/SOLARIS/rx_knet.c,v 1.1.1.11 2003/07/30 17:12:50 hartmans Exp $");
#ifdef AFS_SUN5_ENV
#include "../rx/rx_kcommon.h"
AFS_STATCNT(osi_FreeSocket);
taddr.sin_family = AF_INET;
- taddr.sin_port = htons(rx_port);
+ taddr.sin_port = rx_port;
taddr.sin_addr.s_addr = htonl(0x7f000001);
dvec.iov_base = &c;
DESTDIR=/usr/andy/
INSTALL=${SRCDIR}/bin/install
LIBS=${LIBRX} ${SRCDIR}/lib/liblwp.a
-CFLAGS=-g -I.. -I. -I${SRCDIR}/include -DDEBUG ${XCFLAGS}
+CFLAGS=${DBG} -I.. -I. -I${SRCDIR}/include -DDEBUG ${XCFLAGS}
all: bulk_client bulk_server
DESTDIR=/usr/andy/
INSTALL=${SRCDIR}/bin/install
LIBS=${LIBRX} ${SRCDIR}/lib/liblwp.a
-CFLAGS=-g -I.. -I. -I${SRCDIR}/include -DDEBUG ${XCFLAGS}
+CFLAGS=${DBG} -I.. -I. -I${SRCDIR}/include -DDEBUG ${XCFLAGS}
all: bulk_client bulk_server
DESTDIR=/usr/andy/
INSTALL=${SRCDIR}/bin/install
LIBS=${LIBRX} ${SRCDIR}/lib/liblwp.a
-CFLAGS=-g -I.. -I. -I${SRCDIR}/include -DDEBUG ${XCFLAGS}
+CFLAGS=${DBG} -I.. -I. -I${SRCDIR}/include -DDEBUG ${XCFLAGS}
all: sample_client sample_server
#include <afsconfig.h>
#include "../afs/param.h"
-RCSID("$Header: /tmp/cvstemp/openafs/src/rx/rx_kcommon.c,v 1.1.1.15 2003/04/13 19:07:24 hartmans Exp $");
+RCSID("$Header: /tmp/cvstemp/openafs/src/rx/rx_kcommon.c,v 1.1.1.16 2003/07/30 17:12:46 hartmans Exp $");
#include "../rx/rx_kcommon.h"
{
register afs_int32 code;
struct socket *newSocket;
+#if !defined(AFS_HPUX110_ENV)
register struct mbuf *nam;
+#endif
struct sockaddr_in myaddr;
int wow;
#ifdef AFS_HPUX110_ENV
code = sobind(newSocket, bindnam, addrsize);
if (code) {
soclose(newSocket);
+#if !defined(AFS_HPUX110_ENV)
m_freem(nam);
+#endif
goto bad;
}
/* Define VERSIONINFO resource */
#define AFS_VERINFO_FILE_DESCRIPTION "AFS Rx RPC Diagnostic Command"
+#define AFS_VERINFO_NAME "rxdebug"
+#define AFS_VERINFO_FILENAME "rxdebug.exe"
#include "AFS_component_version_number.h"
#include "..\config\NTVersioninfo.rc"
DESTDIR=/usr/andy/
INSTALL=${SRCDIR}/bin/install
LIBS=${LIBRX} ${SRCDIR}/lib/liblwp.a
-CFLAGS=-g -I. -I${SRCDIR}/include -DDEBUG ${XCFLAGS}
+CFLAGS=${DBG} -I. -I${SRCDIR}/include -DDEBUG ${XCFLAGS}
all: sample_client sample_server
#define mem_free(ptr, bsize) free(ptr)
#endif
-#ifdef KERNEL
-void *afs_osi_Alloc();
-#define osi_alloc afs_osi_Alloc
-#define osi_free afs_osi_Free
-
-#ifndef UKERNEL
+#if defined(AFS_AMD64_LINUX24_ENV) || (defined(KERNEL) && !defined(UKERNEL))
#define xdr_void afs_xdr_void
#define xdr_int afs_xdr_int
#define xdr_u_int afs_xdr_u_int
#define xdr_int64 afs_xdr_int64
#define xdr_uint64 afs_xdr_uint64
#endif
+
+#ifdef KERNEL
+void *afs_osi_Alloc();
+#define osi_alloc afs_osi_Alloc
+#define osi_free afs_osi_Free
+
+/* keep here for now, 64 bit issues */
+extern void *afs_osi_Alloc(size_t x);
+extern void *afs_osi_Alloc_NoSleep(size_t x);
+extern void afs_osi_Free(void *x, size_t asize);
+
#endif
#ifndef major /* ouch! */
#include <sys/types.h>
#include <afsconfig.h>
#include <afs/param.h>
-RCSID("$Header: /tmp/cvstemp/openafs/src/rx/xdr_mem.c,v 1.1.1.5 2003/04/13 19:07:27 hartmans Exp $");
+RCSID("$Header: /tmp/cvstemp/openafs/src/rx/xdr_mem.c,v 1.1.1.6 2003/07/30 17:12:49 hartmans Exp $");
#ifndef NeXT
*/
#include "xdr.h"
-#ifndef AFS_NT40_ENV
+#ifdef AFS_NT40_ENV
+#include <limits.h>
+#else
#include <netinet/in.h>
#endif
afs_int32 *lp;
{
if (xdrs->x_handy -= sizeof(afs_int32))
- eturn (FALSE);
+ return (FALSE);
else
xdrs->x_handy -= sizeof(afs_int32);
include ../config/Makefile.${SYS_NAME}
-KERNELDIR = ../libafs/
-UKERNELDIR = ../libuafs/
+KERNELDIR = ../libafs
+UKERNELDIR = ../libuafs
CFLAGS=${OPTMZ} -I${TOP_SRCDIR}/config -I${TOP_INCDIR} -I${TOP_INCDIR}/rx -DRXDEBUG ${XCFLAGS}
/* Define VERSIONINFO resource */
#define AFS_VERINFO_FILE_DESCRIPTION "AFS Rx RPC Diagnostic Command"
+#define AFS_VERINFO_NAME "rxdebug"
+#define AFS_VERINFO_FILENAME "rxdebug.exe"
#include "AFS_component_version_number.h"
#include "..\config\NTVersioninfo.rc"
include ../config/Makefile.${SYS_NAME}
-UKERNELDIR=../libuafs/
+UKERNELDIR=../libuafs
SRCS= rpc_main.c rpc_hout.c rpc_cout.c rpc_parse.c rpc_scan.c rpc_util.c \
rpc_svcout.c rpc_clntout.c
include ../../config/Makefile.${SYS_NAME}
-KERNELDIR = ../libafs/
-UKERNELDIR = ../libuafs/
+KERNELDIR = ../libafs
+UKERNELDIR = ../libuafs
COMPILE_ET=${TOP_SRCDIR}/comerr/compile_et
-OPTIMIZE=-g
-
-CFLAGS=-g -I. -I${TOP_SRCDIR} -I${TOP_OBJDIR}/src/config -I${TOP_INCDIR} ${XCFLAGS}
+CFLAGS=${DBG} -I. -I${TOP_SRCDIR} -I${TOP_OBJDIR}/src/config -I${TOP_INCDIR} ${XCFLAGS}
HEADERS = ../rxkad.h stress.h stress_internal.h stress_errs.h
#include <afs/param.h>
#endif
-RCSID("$Header: /tmp/cvstemp/openafs/src/rxkad/ticket.c,v 1.1.1.8 2003/04/13 19:07:35 hartmans Exp $");
+RCSID("$Header: /tmp/cvstemp/openafs/src/rxkad/ticket.c,v 1.1.1.9 2003/07/30 17:12:56 hartmans Exp $");
#if defined(UKERNEL)
#include "../afs/sysincludes.h"
if (ticketLen == 0) return RXKADBADTICKET; /* no ticket */
if ((ticketLen < MINKTCTICKETLEN) || /* minimum legal ticket size */
+ (ticketLen > MAXKTCTICKETLEN) || /* maximum legal ticket size */
((ticketLen) % 8 != 0)) /* enc. part must be (0 mod 8) bytes */
return RXKADBADTICKET;
SHELL = /bin/sh
include ../config/Makefile.${SYS_NAME}
-KERNELDIR = ../libafs/
-UKERNELDIR = ../libuafs/
+KERNELDIR = ../libafs
+UKERNELDIR = ../libuafs
RXGEN=${TOP_SRCDIR}/rxgen/rxgen
KSRCS=rxstat.c rxstat.h Krxstat.ss.c Krxstat.xdr.c
/* Define VERSIONINFO resource */
#define AFS_VERINFO_FILE_DESCRIPTION "AFS Authentication Utilities DLL"
+#define AFS_VERINFO_DLL
+#define AFS_VERINFO_NAME "afsauthent"
+#define AFS_VERINFO_FILENAME "afsauthent.dll"
#include "AFS_component_version_number.h"
#include "..\config\NTVersioninfo.rc"
/* Define VERSIONINFO resource */
#define AFS_VERINFO_FILE_DESCRIPTION "AFS Rx RPC DLL"
+#define AFS_VERINFO_DLL
+#define AFS_VERINFO_NAME "afsrpc"
+#define AFS_VERINFO_FILENAME "afsrpc.dll"
#include "AFS_component_version_number.h"
#include "..\config\NTVersioninfo.rc"
SHELL = /bin/sh
-DEBUG =
#UNRESOLVED = -expect_unresolved \*
UNRESOLVED =
include ../config/Makefile.${SYS_NAME}
clean:
$(RM) -f test-reauth libafssiad.so libafssiad.krb.so *.s *.o *.b core *~ *.com *.ld AFS_component_version_number.c
-CFLAGS=$(DEBUG) -I${TOP_SRCDIR}/config -I${TOP_INCDIR} ${XCFLAGS}
+CFLAGS=${DBG} -I${TOP_SRCDIR}/config -I${TOP_INCDIR} ${XCFLAGS}
${DEST}/lib/afs/libafssiad.so: libafssiad.so
${INSTALL} $? $@
${INSTALL} $? $@
siad.o: siad.c
- $(CC) $(CFLAGS) -c -g siad.c -o siad.o
+ $(CC) $(CFLAGS) -c siad.c -o siad.o
siad_krb.o: siad.c
- $(CC) $(CFLAGS) -DAFS_KERBEROS_ENV -c -g siad.c -o siad_krb.o
+ $(CC) $(CFLAGS) -DAFS_KERBEROS_ENV -c siad.c -o siad_krb.o
libafssiad.so: siad.o
- $(LD) $(LDFLAGS) -g -shared -no_archive -o libafssiad.so \
+ $(LD) $(LDFLAGS) -shared -no_archive -o libafssiad.so \
${UNRESOLVED} siad.o ${LIBS} -none -lc
libafssiad.krb.so: siad_krb.o
- $(LD) $(LDFLAGS) -g -shared -no_archive -o libafssiad.krb.so \
+ $(LD) $(LDFLAGS) -shared -no_archive -o libafssiad.krb.so \
${UNRESOLVED} siad_krb.o ${KLIBS} ${LIBS} -none -lc
test-reauth: test-reauth.o
- $(CC) $(CFLAGS) -g -o test-reauth test-reauth.o -lc
+ $(CC) $(CFLAGS) -o test-reauth test-reauth.o -lc
install: ${DESTDIR}${libdir}/afs/libafssiad.so ${DESTDIR}${libdir}/afs/libafssiad.krb.so
#include <afsconfig.h>
#include <afs/param.h>
-RCSID("$Header: /tmp/cvstemp/openafs/src/sys/rmtsysc.c,v 1.1.1.7 2001/09/11 14:34:51 hartmans Exp $");
+RCSID("$Header: /tmp/cvstemp/openafs/src/sys/rmtsysc.c,v 1.1.1.8 2003/07/30 17:13:02 hartmans Exp $");
#include <errno.h>
#include <limits.h>
#ifdef HAVE_STRING_H
#include <string.h>
#endif
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
#include <rx/xdr.h>
#include "rmtsys.h"
SYS_NAME=@AFS_SYSNAME@
include ../config/Makefile.${SYS_NAME}
-OPTIMIZE=-g
-CFLAGS=${OPTIMIZE} -I${TOP_SRCDIR}/config -I${TOP_INCDIR} ${XCFLAGS}
+CFLAGS=${DBG} -I${TOP_SRCDIR}/config -I${TOP_INCDIR} ${XCFLAGS}
AFSLIBS = ${TOP_LIBDIR}/libkauth.a ${TOP_LIBDIR}/libprot.a \
${TOP_LIBDIR}/libubik.a ${TOP_LIBDIR}/libauth.a \
${TOP_LIBDIR}/librxkad.a ${TOP_LIBDIR}/libsys.a \
include ../config/Makefile.${SYS_NAME}
-CFLAGS=${OPTMZ} -I${TOP_SRCDIR}/config -I. -I${TOP_INCDIR} ${XCFLAGS}
-UKERNELDIR=../libuafs/
+CFLAGS=${OPTMZ} ${DBG} -I${TOP_SRCDIR}/config -I. -I${TOP_INCDIR} ${XCFLAGS}
+UKERNELDIR=../libuafs
LIBOBJS=disk.o remote.o beacon.o recovery.o ubik.o vote.o lock.o phys.o \
ubik_int.cs.o ubik_int.ss.o ubik_int.xdr.o ubikcmd.o \
utst_client.o: utst_client.c ${INCLS} utst_int.h AFS_component_version_number.c
udebug.o: udebug.c ${INCLS} AFS_component_version_number.c
- ${CC} ${CFLAGS} -g -I. -I${TOP_INCDIR} -I${TOP_INCDIR}/afs -c udebug.c
+ ${CC} ${CFLAGS} -I. -I${TOP_INCDIR} -I${TOP_INCDIR}/afs -c udebug.c
uerrors.o: uerrors.c
#include <afsconfig.h>
#include <afs/param.h>
-RCSID("$Header: /tmp/cvstemp/openafs/src/ubik/beacon.c,v 1.1.1.11 2003/04/13 19:07:58 hartmans Exp $");
+RCSID("$Header: /tmp/cvstemp/openafs/src/ubik/beacon.c,v 1.1.1.12 2003/07/30 17:13:20 hartmans Exp $");
#include <sys/types.h>
#ifdef AFS_NT40_ENV
{
afs_uint32 myAddr[UBIK_MAX_INTERFACE_ADDR], *servList, tmpAddr;
afs_uint32 myAddr2[UBIK_MAX_INTERFACE_ADDR];
- int count, found, i, j, totalServers, start, end, usednetfiles = 0;
+ int tcount, count, found, i, j, totalServers, start, end, usednetfiles = 0;
if (info)
totalServers = info->numServers;
if (usednetfiles) {
/* take the address we did get, then see if ame was masked */
*ame=myAddr[0];
- count = rx_getAllAddr(myAddr2, UBIK_MAX_INTERFACE_ADDR);
- if ( count <= 0 ) /* no address found */
+ tcount = rx_getAllAddr(myAddr2, UBIK_MAX_INTERFACE_ADDR);
+ if ( tcount <= 0 ) /* no address found */
{
ubik_print("ubik: No network addresses found, aborting..");
return UBADHOST;
}
/* verify that the My-address passed in by ubik is correct */
- for ( j=0, found = 0; j < count; j++)
+ for ( j=0, found = 0; j < tcount; j++)
{
if ( *ame == myAddr2[j] ) /* both in net byte order */
{
/* Define VERSIONINFO resource */
#define AFS_VERINFO_FILE_DESCRIPTION "AFS Ubik Diagnostic Command"
+#define AFS_VERINFO_NAME "udebug"
+#define AFS_VERINFO_FILENAME "udebug.exe"
#include "AFS_component_version_number.h"
#include "..\config\NTVersioninfo.rc"
/* Define VERSIONINFO resource */
#define AFS_VERINFO_FILE_DESCRIPTION "AFS Update Client"
+#define AFS_VERINFO_NAME "upclient"
+#define AFS_VERINFO_FILENAME "upclient.exe"
#include "AFS_component_version_number.h"
#include "..\config\NTVersioninfo.rc"
/* Define VERSIONINFO resource */
#define AFS_VERINFO_FILE_DESCRIPTION "AFS Update Server"
+#define AFS_VERINFO_NAME "upserver"
+#define AFS_VERINFO_FILENAME "upserver.exe"
#include "AFS_component_version_number.h"
#include "..\config\NTVersioninfo.rc"
all: uss
-CFLAGS=${DBUG} -I/usr/include -I${TOP_SRCDIR}/config \
+CFLAGS=${DBUG} -I${TOP_SRCDIR}/config \
-I${TOP_INCDIR} -I. ${XCFLAGS}
#
#include <afsconfig.h>
#include <afs/param.h>
+#ifdef HAVE_STRING_H
+#include <string.h>
+#else
+#ifdef HAVE_STRINGS_H
+#include <strings.h>
+#endif
+#endif
-RCSID("$Header: /tmp/cvstemp/openafs/src/uss/lex.c,v 1.1.1.5 2001/09/11 14:35:04 hartmans Exp $");
+RCSID("$Header: /tmp/cvstemp/openafs/src/uss/lex.c,v 1.1.1.6 2003/07/30 17:13:24 hartmans Exp $");
#include "y.tab.h"
#include "uss_common.h"
/* Define VERSIONINFO resource */
#define AFS_VERINFO_FILE_DESCRIPTION "AFS User Account Command"
+#define AFS_VERINFO_NAME "uss"
+#define AFS_VERINFO_FILENAME "uss.exe"
#include "AFS_component_version_number.h"
#include "..\config\NTVersioninfo.rc"
#include <stdio.h> /*I/O stuff*/
#include <afs/afsutil.h>
#include <errno.h>
+#ifdef HAVE_STRING_H
+#include <string.h>
+#else
+#ifdef HAVE_STRINGS_H
+#include <strings.h>
+#endif
+#endif
+
/*
* --------------------- Exported definitions ---------------------
#include <afsconfig.h>
#include <afs/param.h>
-RCSID("$Header: /tmp/cvstemp/openafs/src/util/afs_lhash.c,v 1.1.1.5 2002/12/11 02:45:51 hartmans Exp $");
+RCSID("$Header: /tmp/cvstemp/openafs/src/util/afs_lhash.c,v 1.1.1.6 2003/07/30 17:13:26 hartmans Exp $");
#ifdef KERNEL
#include "../afs/afs_atomlist.h"
size_t old_address; /* index of bucket to split */
size_t new_address; /* index of new bucket */
- struct bucket *current; /* for scanning down old chain */
+ struct bucket *curr; /* for scanning down old chain */
struct bucket *previous;
struct bucket *last_of_new; /* last element in new chain */
/* relocate records to the new bucket */
- current = lh->table[old_address];
+ curr = lh->table[old_address];
previous = 0;
last_of_new = 0;
lh->table[new_address] = 0;
- while (current) {
+ while (curr) {
size_t addr;
- addr = afs_lhash_address(lh, current->key);
+ addr = afs_lhash_address(lh, curr->key);
if (addr == new_address) {
/* attach it to the end of the new chain */
if (last_of_new) {
- last_of_new->next = current;
+ last_of_new->next = curr;
} else {
- lh->table[new_address] = current;
+ lh->table[new_address] = curr;
}
if (previous) {
- previous->next = current->next;
+ previous->next = curr->next;
} else {
- lh->table[old_address] = current->next;
+ lh->table[old_address] = curr->next;
}
- last_of_new = current;
- current = current->next;
+ last_of_new = curr;
+ curr = curr->next;
last_of_new->next = 0;
} else {
#ifdef CHECK_INVARIANTS
assert(addr == old_address);
#endif /* CHECK_INVARIANTS */
/* leave it on the old chain */
- previous = current;
- current = current->next;
+ previous = curr;
+ curr = curr->next;
}
}
}
#endif /* CHECK_INVARIANTS */
for (i = 0; i < lh->ltable; i++) {
- struct bucket *current;
+ struct bucket *curr;
- for (current = lh->table[i];
- current;
- current = current->next) {
- f(i, current->key, current->data);
+ for (curr = lh->table[i];
+ curr;
+ curr = curr->next) {
+ f(i, curr->key, curr->data);
}
}
}
{
size_t k;
struct bucket *previous;
- struct bucket *current;
+ struct bucket *curr;
lh->search_calls++;
k = afs_lhash_address(lh, key);
- for (previous = 0, current = lh->table[k];
- current;
- previous = current, current = current->next) {
+ for (previous = 0, curr = lh->table[k];
+ curr;
+ previous = curr, curr = curr->next) {
lh->search_tests++;
- if (lh->equal(data, current->data)) {
+ if (lh->equal(data, curr->data)) {
/*
* Since we found what we were looking for, move
*/
if (previous) {
- previous->next = current->next;
- current->next = lh->table[k];
- lh->table[k] = current;
+ previous->next = curr->next;
+ curr->next = lh->table[k];
+ lh->table[k] = curr;
}
- return current->data;
+ return curr->data;
}
}
)
{
size_t k;
- struct bucket *current;
+ struct bucket *curr;
k = afs_lhash_address(lh, key);
- for (current = lh->table[k];
- current;
- current = current->next) {
- if (lh->equal(data, current->data)) {
- return current->data;
+ for (curr = lh->table[k];
+ curr;
+ curr = curr->next) {
+ if (lh->equal(data, curr->data)) {
+ return curr->data;
}
}
BEWARE: avoid quotes in the assertion!!
Also beware: you cannot make the NOASSERT case a null macro, because of side effects */
+#undef assert
#ifndef NOASSERT
#define assert(ex) {if (!(ex)){fprintf(stderr,"Assertion failed: file %s, line %d\n", __FILE__, __LINE__);fprintf(stderr, "\t%s\n", # ex); abort();}}
#else
#include <pthread.h>
#include <unistd.h>
+#include "pthread_nosigs.h"
+
static pthread_t softsig_tid;
static struct {
void (*handler) (int);
int pending;
+ int fatal;
+ int inited;
} softsig_sigs[NSIG];
static void *
softsig_thread (void *arg)
{
- sigset_t ss;
+ sigset_t ss,os;
+ int i;
sigemptyset (&ss);
+ /* get the list of signals _not_ blocked by AFS_SIGSET_CLEAR() */
+ pthread_sigmask (SIG_BLOCK, &ss, &os);
+ pthread_sigmask (SIG_SETMASK, &os, NULL);
sigaddset (&ss, SIGUSR1);
+ for (i = 0; i < NSIG; i++) {
+ if (!sigismember(&os, i) && i != SIGSTOP && i != SIGKILL) {
+ sigaddset(&ss, i);
+ softsig_sigs[i].fatal = 1;
+ }
+ }
while (1) {
void (*h) (int) = NULL;
- int i, sigw;
+ int sigw;
- for (i = 0; i < NSIG; i++)
+ h = NULL;
+
+ for (i = 0; i < NSIG; i++) {
+ if (softsig_sigs[i].handler && !softsig_sigs[i].inited) {
+ sigaddset(&ss, i);
+ softsig_sigs[i].inited = 1;
+ }
if (softsig_sigs[i].pending) {
- softsig_sigs[i].pending = 0;
- h = softsig_sigs[i].handler;
- break;
+ softsig_sigs[i].pending = 0;
+ h = softsig_sigs[i].handler;
+ break;
}
-
- if (i == NSIG)
- assert (0 == sigwait (&ss, &sigw));
- else if (h)
+ }
+ if (i == NSIG) {
+ sigwait (&ss, &sigw);
+ if (sigw != SIGUSR1) {
+ if (softsig_sigs[sigw].fatal)
+ exit(0);
+ softsig_sigs[sigw].pending=1;
+ }
+ } else if (h)
h (i);
}
}
void
softsig_init ()
{
- sigset_t ss, os;
-
- sigemptyset (&ss);
- sigaddset (&ss, SIGUSR1);
-
- /* Set mask right away, so we don't accidentally SIGUSR1 the
- * softsig thread and cause an exit (default action).
- */
- assert (0 == pthread_sigmask (SIG_BLOCK, &ss, &os));
- assert (0 == pthread_create (&softsig_tid, NULL, &softsig_thread, NULL));
- assert (0 == pthread_sigmask (SIG_SETMASK, &os, NULL));
+ int rc;
+ AFS_SIGSET_DECL;
+ AFS_SIGSET_CLEAR();
+ rc = pthread_create (&softsig_tid, NULL, &softsig_thread, NULL);
+ assert(0 == rc);
+ AFS_SIGSET_RESTORE();
}
static void
softsig_handler (int signo)
{
+ signal (signo, softsig_handler);
softsig_sigs[signo].pending = 1;
pthread_kill (softsig_tid, SIGUSR1);
}
softsig_signal (int signo, void (*handler) (int))
{
softsig_sigs[signo].handler = handler;
+ softsig_sigs[signo].inited = 0;
signal (signo, softsig_handler);
+ pthread_kill (softsig_tid, SIGUSR1);
}
#if defined(TEST)
include ../../config/Makefile.${SYS_NAME}
-CFLAGS = -I. -I.. -I${SRCDIR}/include ${XCFLAGS} -g
+CFLAGS = -I. -I.. -I${SRCDIR}/include ${XCFLAGS} ${DBG}
tests: test_ktime ktest dirpath_test
#include <afsconfig.h>
#include <afs/param.h>
-RCSID("$Header: /tmp/cvstemp/openafs/src/venus/test/owntest.c,v 1.1.1.5 2003/04/13 19:08:10 hartmans Exp $");
+RCSID("$Header: /tmp/cvstemp/openafs/src/venus/test/owntest.c,v 1.1.1.6 2003/07/30 17:13:33 hartmans Exp $");
#include <sys/types.h>
#include <sys/file.h>
perror("chmod back to RW");
return 1;
}
- gettimeofday(&tv[0], (char *) 0);
- gettimeofday(&tv[1], (char *) 0);
+ gettimeofday(&tv[0], (void *) 0);
+ gettimeofday(&tv[1], (void *) 0);
tv[0].tv_sec -= 10000;
tv[0].tv_usec = 0;
tv[1].tv_sec -= 20000;
#include <afsconfig.h>
#include <afs/param.h>
-RCSID("$Header: /tmp/cvstemp/openafs/src/venus/up.c,v 1.1.1.7 2001/09/11 14:35:26 hartmans Exp $");
+RCSID("$Header: /tmp/cvstemp/openafs/src/venus/up.c,v 1.1.1.8 2003/07/30 17:13:32 hartmans Exp $");
/* missing type from C language */
#define Boolean short
#define false 0
#include <errno.h>
+#ifdef HAVE_STRING_H
+#include <string.h>
+#else
+#ifdef HAVE_STRINGS_H
+#include <strings.h>
+#endif
+#endif
#ifdef AFS_AIX32_ENV
#include <signal.h>
#undef _NONSTD_TYPES
#include <afsconfig.h>
#include <afs/param.h>
-RCSID("$Header: /tmp/cvstemp/openafs/src/viced/callback.c,v 1.1.1.11 2003/04/13 19:08:13 hartmans Exp $");
+RCSID("$Header: /tmp/cvstemp/openafs/src/viced/callback.c,v 1.1.1.12 2003/07/30 17:13:35 hartmans Exp $");
#include <stdio.h>
#include <stdlib.h> /* for malloc() */
assert(0);
ViceLog(0,("CDel: Internal Error -- shutting down: wanted %d from %d, now at %d\n",cbi,fe->firstcb,*cbp));
DumpCallBackState();
- ShutDown();
+ ShutDownAndCore(PANIC);
}
}
CDelPtr(fe, cbp);
if (safety > cbstuff.nblks) {
ViceLog(0,("FindCBPtr: Internal Error -- shutting down.\n"));
DumpCallBackState();
- ShutDown();
+ ShutDownAndCore(PANIC);
}
cb = itocb(*cbp);
if (cb->hhead == hostindex)
if (safety > cbstuff.nblks) {
ViceLog(0,("AddCallBack1: Internal Error -- shutting down.\n"));
DumpCallBackState();
- ShutDown();
+ ShutDownAndCore(PANIC);
}
if (cb->hhead == h_htoi(host))
break;
if (ntimedout > cbstuff.nblks) {
ViceLog(0,("CCB: Internal Error -- shutting down...\n"));
DumpCallBackState();
- ShutDown();
+ ShutDownAndCore(PANIC);
}
} while (cbi != *thead);
*thead = 0;
/* Define VERSIONINFO resource */
#define AFS_VERINFO_FILE_DESCRIPTION "AFS File Server"
+#define AFS_VERINFO_NAME "fileserver"
+#define AFS_VERINFO_FILENAME "fileserver.exe"
#include "AFS_component_version_number.h"
#include "..\config\NTVersioninfo.rc"
#include <afsconfig.h>
#include <afs/param.h>
-RCSID("$Header: /tmp/cvstemp/openafs/src/viced/host.c,v 1.1.1.13 2003/04/13 19:08:13 hartmans Exp $");
+RCSID("$Header: /tmp/cvstemp/openafs/src/viced/host.c,v 1.1.1.14 2003/07/30 17:13:36 hartmans Exp $");
#include <stdio.h>
#include <errno.h>
{
char uuid1[128], uuid2[128];
if (identP->valid)
- afsUUID_to_string(identP->uuid, uuid1, 127);
+ afsUUID_to_string(&identP->uuid, uuid1, 127);
if (host->interface)
- afsUUID_to_string(host->interface->uuid, uuid2, 127);
+ afsUUID_to_string(&host->interface->uuid, uuid2, 127);
ViceLog(0,
("CB: new identity for host %s:%d, deleting(%x %x %s %s)\n",
afs_inet_ntoa_r(host->host, hoststr), ntohs(host->port),
return 0;
}
foreign = 1; /* attempt cross-cell authentication */
- tname = (char *) malloc(anamelen+cnamelen+2);
+ tname = (char *) malloc(PR_MAXNAMELEN);
strcpy(tname, aname);
tname[anamelen] = '@';
strcpy(tname+anamelen+1, acell);
#include <afsconfig.h>
#include <afs/param.h>
-RCSID("$Header: /tmp/cvstemp/openafs/src/viced/viced.c,v 1.1.1.10 2003/04/13 19:08:14 hartmans Exp $");
+RCSID("$Header: /tmp/cvstemp/openafs/src/viced/viced.c,v 1.1.1.11 2003/07/30 17:13:36 hartmans Exp $");
#include <stdio.h>
#include <stdlib.h>
#if defined(AFS_HPUX_ENV)
signo = SIGPOLL;
-#elif defined(AFS_NT40_ENV)
+#else
+#if defined(AFS_NT40_ENV)
signo = SIGUSR2;
#else
signo = SIGXCPU;
#endif
+#endif
#if defined(AFS_PTHREAD_ENV) && !defined(AFS_NT40_ENV)
softsig_signal(signo, CheckSignal_Signal);
}
#endif
DFlush();
- PrintCounters();
+ if (!dopanic) PrintCounters();
/* do not allows new reqests to be served from now on, all new requests
are returned with an error code of RX_RESTARTING ( transient failure ) */
include ../config/Makefile.${SYS_NAME}
-KERNELDIR=../libafs/
-UKERNELDIR=../libuafs/
+KERNELDIR=../libafs
+UKERNELDIR=../libuafs
COMPILE_ET=${TOP_SRCDIR}/comerr/compile_et
CFLAGS=${DBUG} -I. -I.. -I${TOP_SRCDIR}/config -I${TOP_INCDIR} ${XCFLAGS}
/* Define VERSIONINFO resource */
#define AFS_VERINFO_FILE_DESCRIPTION "AFS Volume Location Database Server"
+#define AFS_VERINFO_NAME "vlserver"
+#define AFS_VERINFO_FILENAME "vlserver.exe"
#include "AFS_component_version_number.h"
#include "..\config\NTVersioninfo.rc"
/* Define VERSIONINFO resource */
#define AFS_VERINFO_FILE_DESCRIPTION "AFS Volume Salvager Command"
+#define AFS_VERINFO_NAME "vol-salvage"
+#define AFS_VERINFO_FILENAME "salvager.exe"
#include "AFS_component_version_number.h"
#include "..\config\NTVersioninfo.rc"
#include <afsconfig.h>
#include <afs/param.h>
-RCSID("$Header: /tmp/cvstemp/openafs/src/vol/vol-salvage.c,v 1.1.1.12 2003/04/13 19:08:19 hartmans Exp $");
+RCSID("$Header: /tmp/cvstemp/openafs/src/vol/vol-salvage.c,v 1.1.1.13 2003/07/30 17:13:41 hartmans Exp $");
#include <stdlib.h>
#include <stdio.h>
void AskOffline(VolumeId volumeId);
void AskOnline(VolumeId volumeId, char *partition);
void CheckLogFile(void);
+#ifndef AFS_NT40_ENV
+void TimeStampLogFile(void);
+#endif
void ClearROInUseBit(struct VolumeSummary *summary);
void CopyAndSalvage(register struct DirSummary *dir);
int CopyInode(Device device, Inode inode1, Inode inode2, int rwvolume);
if ( ti = as->parms[17].items) { /* -syslogfacility */
useSyslogFacility = atoi(ti->data);
}
+ if (ti = as->parms[18].items) { /* -datelogs */
+ TimeStampLogFile();
+ }
#endif
-
#ifdef FAST_RESTART
- if (ti = as->parms[18].items) { /* -DontSalvage */
+ if (ti = as->parms[19].items) { /* -DontSalvage */
printf("Exiting immediately without salvage. Look into the FileLog");
printf(" to find volumes which really need to be salvaged!\n");
Exit(0);
to deal with screwy offsets for cmd params */
cmd_AddParm(ts, "-syslog", CMD_FLAG, CMD_OPTIONAL, "Write salvage log to syslogs");
cmd_AddParm(ts, "-syslogfacility", CMD_SINGLE, CMD_OPTIONAL, "Syslog facility number to use");
+ cmd_AddParm(ts, "-datelogs", CMD_FLAG, CMD_OPTIONAL, "Include timestamp in logfile filename");
#ifdef FAST_RESTART
cmd_AddParm(ts, "-DontSalvage", CMD_FLAG, CMD_OPTIONAL, "Don't salvage. This my be set in BosConfig to let the fileserver restart immediately after a crash. Bad volumes will be taken offline");
}
}
+#ifndef AFS_NT40_ENV
+void TimeStampLogFile(void)
+{
+ char stampSlvgLog[AFSDIR_PATH_MAX];
+ struct tm *lt;
+ time_t now;
+
+ now = time(0);
+ lt = localtime(&now);
+ sprintf(stampSlvgLog, "%s.%04d-%02d-%02d.%02d:%02d:%02d",
+ AFSDIR_SERVER_SLVGLOG_FILEPATH,
+ lt->tm_year + 1900, lt->tm_mon + 1, lt->tm_mday,
+ lt->tm_hour, lt->tm_min, lt->tm_sec);
+
+ /* try to link the logfile to a timestamped filename */
+ /* if it fails, oh well, nothing we can do */
+ link(AFSDIR_SERVER_SLVGLOG_FILEPATH, stampSlvgLog);
+}
+#endif
+
void showlog(void)
{
char line[256];
/* Define VERSIONINFO resource */
#define AFS_VERINFO_FILE_DESCRIPTION "AFS Volume Diagnostic Command"
+#define AFS_VERINFO_NAME "volinfo"
+#define AFS_VERINFO_FILENAME "volinfo.exe"
#include "AFS_component_version_number.h"
#include "..\config\NTVersioninfo.rc"
#include <afsconfig.h>
#include <afs/param.h>
-RCSID("$Header: /tmp/cvstemp/openafs/src/volser/volprocs.c,v 1.1.1.8 2001/10/14 18:07:30 hartmans Exp $");
+RCSID("$Header: /tmp/cvstemp/openafs/src/volser/volprocs.c,v 1.1.1.9 2003/07/30 17:13:44 hartmans Exp $");
#include <stdio.h>
#include <sys/types.h>
V_parentId(vp), 1, 1, 0);
assert(VALID_INO(inodeNumber));
- SetSalvageDirHandle(&dir, V_id(vp), vp->device, inodeNumber);
+ SetSalvageDirHandle(&dir, V_parentId(vp), vp->device, inodeNumber);
did.Volume = V_id(vp);
did.Vnode = (VnodeId)1;
did.Unique = 1;
/* Define VERSIONINFO resource */
#define AFS_VERINFO_FILE_DESCRIPTION "AFS Volume Server"
+#define AFS_VERINFO_NAME "volserver"
+#define AFS_VERINFO_FILENAME "volserver.exe"
#include "AFS_component_version_number.h"
#include "..\config\NTVersioninfo.rc"
/* Define VERSIONINFO resource */
#define AFS_VERINFO_FILE_DESCRIPTION "AFS Volume Command"
+#define AFS_VERINFO_NAME "vos"
+#define AFS_VERINFO_FILENAME "vos.exe"
#include "AFS_component_version_number.h"
#include "..\config\NTVersioninfo.rc"
-I${TOP_SRCDIR}/config \
-I${TOP_INCDIR} \
-I${TOP_INCDIR}/afs \
- -I/usr/include ${XCFLAGS}
+ ${XCFLAGS}
RPCINCLS=${TOP_INCDIR}/lwp.h ${TOP_INCDIR}/rx/rx.h