本文整理汇总了C++中NOREF函数的典型用法代码示例。如果您正苦于以下问题:C++ NOREF函数的具体用法?C++ NOREF怎么用?C++ NOREF使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了NOREF函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C++代码示例。
示例1: RTDECL
RTDECL(int) RTCrX509Certificate_VerifySignature(PCRTCRX509CERTIFICATE pThis, PCRTASN1OBJID pAlgorithm,
PCRTASN1DYNTYPE pParameters, PCRTASN1BITSTRING pPublicKey,
PRTERRINFO pErrInfo)
{
/*
* Validate the input a little.
*/
AssertPtrReturn(pThis, VERR_INVALID_POINTER);
AssertReturn(RTCrX509Certificate_IsPresent(pThis), VERR_INVALID_PARAMETER);
AssertPtrReturn(pAlgorithm, VERR_INVALID_POINTER);
AssertReturn(RTAsn1ObjId_IsPresent(pAlgorithm), VERR_INVALID_POINTER);
if (pParameters)
{
AssertPtrReturn(pParameters, VERR_INVALID_POINTER);
if (pParameters->enmType == RTASN1TYPE_NULL)
pParameters = NULL;
}
AssertPtrReturn(pPublicKey, VERR_INVALID_POINTER);
AssertReturn(RTAsn1BitString_IsPresent(pPublicKey), VERR_INVALID_POINTER);
/*
* Check if the algorithm matches.
*/
const char *pszCipherOid = RTCrPkixGetCiperOidFromSignatureAlgorithm(&pThis->SignatureAlgorithm.Algorithm);
if (!pszCipherOid)
return RTErrInfoSetF(pErrInfo, VERR_CR_X509_UNKNOWN_CERT_SIGN_ALGO,
"Certificate signature algorithm not known: %s",
pThis->SignatureAlgorithm.Algorithm.szObjId);
if (RTAsn1ObjId_CompareWithString(pAlgorithm, pszCipherOid) != 0)
return RTErrInfoSetF(pErrInfo, VERR_CR_X509_CERT_SIGN_ALGO_MISMATCH,
"Certificate signature cipher algorithm mismatch: cert uses %s (%s) while key uses %s",
pszCipherOid, pThis->SignatureAlgorithm.Algorithm.szObjId, pAlgorithm->szObjId);
/*
* Wrap up the public key.
*/
RTCRKEY hPubKey;
int rc = RTCrKeyCreateFromPublicAlgorithmAndBits(&hPubKey, pAlgorithm, pPublicKey, pErrInfo, NULL);
if (RT_FAILURE(rc))
return rc;
/*
* Here we should recode the to-be-signed part as DER, but we'll ASSUME
* that it's already in DER encoding and only does this if there the
* encoded bits are missing.
*/
if ( pThis->TbsCertificate.SeqCore.Asn1Core.uData.pu8
&& pThis->TbsCertificate.SeqCore.Asn1Core.cb > 0)
rc = RTCrPkixPubKeyVerifySignature(&pThis->SignatureAlgorithm.Algorithm, hPubKey, pParameters, &pThis->SignatureValue,
RTASN1CORE_GET_RAW_ASN1_PTR(&pThis->TbsCertificate.SeqCore.Asn1Core),
RTASN1CORE_GET_RAW_ASN1_SIZE(&pThis->TbsCertificate.SeqCore.Asn1Core),
pErrInfo);
else
{
uint32_t cbEncoded;
rc = RTAsn1EncodePrepare((PRTASN1CORE)&pThis->TbsCertificate.SeqCore.Asn1Core, RTASN1ENCODE_F_DER, &cbEncoded, pErrInfo);
if (RT_SUCCESS(rc))
{
void *pvTbsBits = RTMemTmpAlloc(cbEncoded);
if (pvTbsBits)
{
rc = RTAsn1EncodeToBuffer(&pThis->TbsCertificate.SeqCore.Asn1Core, RTASN1ENCODE_F_DER,
pvTbsBits, cbEncoded, pErrInfo);
if (RT_SUCCESS(rc))
rc = RTCrPkixPubKeyVerifySignature(&pThis->SignatureAlgorithm.Algorithm, hPubKey, pParameters,
&pThis->SignatureValue, pvTbsBits, cbEncoded, pErrInfo);
else
AssertRC(rc);
RTMemTmpFree(pvTbsBits);
}
else
rc = VERR_NO_TMP_MEMORY;
}
}
/* Free the public key. */
uint32_t cRefs = RTCrKeyRelease(hPubKey);
Assert(cRefs == 0); NOREF(cRefs);
return rc;
}
开发者ID:mdaniel,项目名称:virtualbox-org-svn-vbox-trunk,代码行数:85,代码来源:x509-verify.cpp
示例2: supdrvOSObjInitCreator
/**
* Initializes any OS specific object creator fields.
*/
void VBOXCALL supdrvOSObjInitCreator(PSUPDRVOBJ pObj, PSUPDRVSESSION pSession)
{
NOREF(pObj);
NOREF(pSession);
}
开发者ID:pombredanne,项目名称:virtualbox-org-svn-vbox-trunk,代码行数:8,代码来源:SUPDrv-solaris.c
示例3: DECLINLINE
DECLINLINE(void) vboxNetAdpReleaseUnit(int iUnit)
{
bool fSet = ASMAtomicBitTestAndClear(g_aUnits, iUnit);
NOREF(fSet);
Assert(fSet);
}
开发者ID:miguelinux,项目名称:vbox,代码行数:6,代码来源:VBoxNetAdp.c
示例4: supdrvOSMsrProberWrite
int VBOXCALL supdrvOSMsrProberWrite(uint32_t uMsr, RTCPUID idCpu, uint64_t uValue)
{
/** @todo cmi_hdl_wrmsr can safely do this. */
NOREF(uMsr); NOREF(idCpu); NOREF(uValue);
return VERR_NOT_SUPPORTED;
}
开发者ID:pombredanne,项目名称:virtualbox-org-svn-vbox-trunk,代码行数:6,代码来源:SUPDrv-solaris.c
示例5: supdrvOSCleanupSession
void VBOXCALL supdrvOSCleanupSession(PSUPDRVDEVEXT pDevExt, PSUPDRVSESSION pSession)
{
NOREF(pDevExt);
NOREF(pSession);
}
开发者ID:pombredanne,项目名称:virtualbox-org-svn-vbox-trunk,代码行数:5,代码来源:SUPDrv-solaris.c
示例6: supdrvOSLdrNotifyOpened
void VBOXCALL supdrvOSLdrNotifyOpened(PSUPDRVDEVEXT pDevExt, PSUPDRVLDRIMAGE pImage)
{
NOREF(pDevExt); NOREF(pImage);
}
开发者ID:pombredanne,项目名称:virtualbox-org-svn-vbox-trunk,代码行数:4,代码来源:SUPDrv-solaris.c
示例7: supdrvOSLdrLoad
int VBOXCALL supdrvOSLdrLoad(PSUPDRVDEVEXT pDevExt, PSUPDRVLDRIMAGE pImage, const uint8_t *pbImageBits, PSUPLDRLOAD pReq)
{
NOREF(pDevExt); NOREF(pImage); NOREF(pbImageBits); NOREF(pReq);
return VERR_NOT_SUPPORTED;
}
开发者ID:pombredanne,项目名称:virtualbox-org-svn-vbox-trunk,代码行数:5,代码来源:SUPDrv-solaris.c
示例8: suplibOsPageFree
int suplibOsPageFree(PSUPLIBDATA pThis, void *pvPages, size_t cPages)
{
NOREF(pThis);
RTMemPageFree(pvPages, cPages * PAGE_SIZE);
return VINF_SUCCESS;
}
开发者ID:mdaniel,项目名称:virtualbox-org-svn-vbox-trunk,代码行数:6,代码来源:SUPLib-freebsd.cpp
示例9: rtDirNativeGetStructSize
size_t rtDirNativeGetStructSize(const char *pszPath)
{
NOREF(pszPath);
return sizeof(RTDIR);
}
开发者ID:Klanly,项目名称:virtualbox-org-svn-vbox-trunk,代码行数:5,代码来源:direnum-win.cpp
示例10: rtPathToNative
int rtPathToNative(char const **ppszNativePath, const char *pszPath, const char *pszBasePath)
{
*ppszNativePath = pszPath;
NOREF(pszBasePath); /* We don't query the FS for codeset preferences. */
return VINF_SUCCESS;
}
开发者ID:miguelinux,项目名称:vbox,代码行数:6,代码来源:pathhost-generic.cpp
示例11: rtPathFreeIprt
void rtPathFreeIprt(const char *pszPath, const char *pszNativePath)
{
Assert(pszPath == pszNativePath || !pszPath);
NOREF(pszPath); NOREF(pszNativePath);
}
开发者ID:miguelinux,项目名称:vbox,代码行数:5,代码来源:pathhost-generic.cpp
示例12: RTDECL
RTDECL(int) RTFileAioCtxAssociateWithFile(RTFILEAIOCTX hAioCtx, RTFILE hFile)
{
/* Nothing to do. */
NOREF(hAioCtx); NOREF(hFile);
return VINF_SUCCESS;
}
开发者ID:leopucci,项目名称:VirtualMonitor,代码行数:6,代码来源:fileaio-linux.cpp
示例13: main
int main(int argc, char **argv)
{
/* Only positive tests here. */
NOREF(argc);
NOREF(argv);
AssertCompile(true);
AssertCompile(1);
AssertCompile(2);
AssertCompile(99);
uint8_t u8;
NOREF( u8);
uint16_t u16;
NOREF(u16);
uint32_t u32;
NOREF(u32);
uint64_t u64;
NOREF(u64);
AssertCompileSize( u8, 1);
AssertCompileSize(u16, 2);
AssertCompileSize(u32, 4);
AssertCompileSize(u64, 8);
AssertCompileSizeAlignment( u8, 1);
AssertCompileSizeAlignment(u16, 1);
AssertCompileSizeAlignment(u16, 2);
AssertCompileSizeAlignment(u32, 1);
AssertCompileSizeAlignment(u32, 2);
AssertCompileSizeAlignment(u32, 4);
AssertCompileSizeAlignment(u64, 1);
AssertCompileSizeAlignment(u64, 2);
AssertCompileSizeAlignment(u64, 4);
AssertCompileSizeAlignment(u64, 8);
typedef struct STRUCT12S
{
uint8_t u8;
uint8_t au8[8];
uint64_t u64;
uint8_t u8UnalignmentFiller1;
uint32_t u32;
uint8_t u8UnalignmentFiller2;
uint16_t u16;
const char *psz;
uint32_t u32A;
uint32_t u32B;
} STRUCT1, STRUCT2;
AssertCompileMemberSize(STRUCT1, u8, 1);
AssertCompileMemberSize(STRUCT1, u16, 2);
AssertCompileMemberSize(STRUCT1, u32, 4);
AssertCompileMemberSize(STRUCT1, u64, 8);
AssertCompileMemberSizeAlignment(STRUCT1, u8, 1);
AssertCompileMemberSizeAlignment(STRUCT1, u16, 1);
AssertCompileMemberSizeAlignment(STRUCT1, u16, 2);
AssertCompileMemberSizeAlignment(STRUCT1, u32, 1);
AssertCompileMemberSizeAlignment(STRUCT1, u32, 2);
AssertCompileMemberSizeAlignment(STRUCT1, u32, 4);
AssertCompileMemberSizeAlignment(STRUCT1, u64, 1);
AssertCompileMemberSizeAlignment(STRUCT1, u64, 2);
AssertCompileMemberSizeAlignment(STRUCT1, u64, 4);
AssertCompileMemberSizeAlignment(STRUCT1, u64, 8);
AssertCompileMemberSizeAlignment(STRUCT1, psz, sizeof(void *));
AssertCompileMemberAlignment(STRUCT1, u8, 1);
AssertCompileMemberAlignment(STRUCT1, u16, 1);
AssertCompileMemberAlignment(STRUCT1, u16, 2);
AssertCompileMemberAlignment(STRUCT1, u32, 1);
AssertCompileMemberAlignment(STRUCT1, u32, 2);
AssertCompileMemberAlignment(STRUCT1, u32, 4);
AssertCompileMemberAlignment(STRUCT1, u64, 1);
AssertCompileMemberAlignment(STRUCT1, u64, 2);
AssertCompileMemberAlignment(STRUCT1, u64, 4);
#if defined(__GNUC__) && ARCH_BITS >= 64
AssertCompileMemberAlignment(STRUCT1, u64, 8);
#endif
AssertCompileMemberAlignment(STRUCT1, psz, sizeof(void *));
AssertCompileMemberOffset(STRUCT1, u8, 0);
AssertCompileMemberOffset(STRUCT1, au8, 1);
#ifndef _MSC_VER /** @todo figure out why MSC has trouble with these expressions */
AssertCompileMemberOffset(STRUCT1, au8[0], 1);
AssertCompileMemberOffset(STRUCT1, au8[8], 9);
#endif
typedef union UNION1U
{
STRUCT1 s1;
STRUCT2 s2;
} UNION1;
AssertCompile2MemberOffsets(UNION1, s1.u8, s2.u8);
AssertCompile2MemberOffsets(UNION1, s1.u16, s2.u16);
AssertCompile2MemberOffsets(UNION1, s1.u32, s2.u32);
AssertCompile2MemberOffsets(UNION1, s1.u64, s2.u64);
AssertCompile2MemberOffsets(UNION1, s1.psz, s2.psz);
AssertCompileAdjacentMembers(STRUCT1, u32A, u32B);
//.........这里部分代码省略.........
开发者ID:miguelinux,项目名称:vbox,代码行数:101,代码来源:tstRTAssertCompile.cpp
示例14: NOREF
HRESULT DHCPServer::getEventSource(ComPtr<IEventSource> &aEventSource)
{
NOREF(aEventSource);
ReturnComNotImplemented();
}
开发者ID:miguelinux,项目名称:vbox,代码行数:5,代码来源:DHCPServerImpl.cpp
示例15: main
int main()
{
int rc = 0;
printf("tstVMStructSize: TESTING\n");
printf("info: struct VM: %d bytes\n", (int)sizeof(VM));
#define CHECK_PADDING_VM(align, member) \
do \
{ \
CHECK_PADDING(VM, member, align); \
CHECK_MEMBER_ALIGNMENT(VM, member, align); \
VM *p = NULL; NOREF(p); \
if (sizeof(p->member.padding) >= (ssize_t)sizeof(p->member.s) + 128 + sizeof(p->member.s) / 20) \
printf("warning: VM::%-8s: padding=%-5d s=%-5d -> %-4d suggest=%-5u\n", \
#member, (int)sizeof(p->member.padding), (int)sizeof(p->member.s), \
(int)sizeof(p->member.padding) - (int)sizeof(p->member.s), \
(int)RT_ALIGN_Z(sizeof(p->member.s), (align))); \
} while (0)
#define CHECK_PADDING_VMCPU(align, member) \
do \
{ \
CHECK_PADDING(VMCPU, member, align); \
CHECK_MEMBER_ALIGNMENT(VMCPU, member, align); \
VMCPU *p = NULL; NOREF(p); \
if (sizeof(p->member.padding) >= (ssize_t)sizeof(p->member.s) + 128 + sizeof(p->member.s) / 20) \
printf("warning: VMCPU::%-8s: padding=%-5d s=%-5d -> %-4d suggest=%-5u\n", \
#member, (int)sizeof(p->member.padding), (int)sizeof(p->member.s), \
(int)sizeof(p->member.padding) - (int)sizeof(p->member.s), \
(int)RT_ALIGN_Z(sizeof(p->member.s), (align))); \
} while (0)
#define CHECK_CPUMCTXCORE(member) \
do { \
unsigned off1 = RT_OFFSETOF(CPUMCTX, member) - RT_OFFSETOF(CPUMCTX, rax); \
unsigned off2 = RT_OFFSETOF(CPUMCTXCORE, member); \
if (off1 != off2) \
{ \
printf("error! CPUMCTX/CORE:: %s! (%#x vs %#x (ctx))\n", #member, off1, off2); \
rc++; \
} \
} while (0)
#define CHECK_PADDING_UVM(align, member) \
do \
{ \
CHECK_PADDING(UVM, member, align); \
CHECK_MEMBER_ALIGNMENT(UVM, member, align); \
UVM *p = NULL; NOREF(p); \
if (sizeof(p->member.padding) >= (ssize_t)sizeof(p->member.s) + 128 + sizeof(p->member.s) / 20) \
printf("warning: UVM::%-8s: padding=%-5d s=%-5d -> %-4d suggest=%-5u\n", \
#member, (int)sizeof(p->member.padding), (int)sizeof(p->member.s), \
(int)sizeof(p->member.padding) - (int)sizeof(p->member.s), \
(int)RT_ALIGN_Z(sizeof(p->member.s), (align))); \
} while (0)
#define CHECK_PADDING_UVMCPU(align, member) \
do \
{ \
CHECK_PADDING(UVMCPU, member, align); \
CHECK_MEMBER_ALIGNMENT(UVMCPU, member, align); \
UVMCPU *p = NULL; NOREF(p); \
if (sizeof(p->member.padding) >= (ssize_t)sizeof(p->member.s) + 128 + sizeof(p->member.s) / 20) \
printf("warning: UVMCPU::%-8s: padding=%-5d s=%-5d -> %-4d suggest=%-5u\n", \
#member, (int)sizeof(p->member.padding), (int)sizeof(p->member.s), \
(int)sizeof(p->member.padding) - (int)sizeof(p->member.s), \
(int)RT_ALIGN_Z(sizeof(p->member.s), (align))); \
} while (0)
#define CHECK_PADDING_GVM(align, member) \
do \
{ \
CHECK_PADDING(GVM, member, align); \
CHECK_MEMBER_ALIGNMENT(GVM, member, align); \
GVM *p = NULL; NOREF(p); \
if (sizeof(p->member.padding) >= (ssize_t)sizeof(p->member.s) + 128 + sizeof(p->member.s) / 20) \
printf("warning: GVM::%-8s: padding=%-5d s=%-5d -> %-4d suggest=%-5u\n", \
#member, (int)sizeof(p->member.padding), (int)sizeof(p->member.s), \
(int)sizeof(p->member.padding) - (int)sizeof(p->member.s), \
(int)RT_ALIGN_Z(sizeof(p->member.s), (align))); \
} while (0)
#define CHECK_PADDING_GVMCPU(align, member) \
do \
{ \
CHECK_PADDING(GVMCPU, member, align); \
CHECK_MEMBER_ALIGNMENT(GVMCPU, member, align); \
GVMCPU *p = NULL; NOREF(p); \
if (sizeof(p->member.padding) >= (ssize_t)sizeof(p->member.s) + 128 + sizeof(p->member.s) / 20) \
printf("warning: GVMCPU::%-8s: padding=%-5d s=%-5d -> %-4d suggest=%-5u\n", \
#member, (int)sizeof(p->member.padding), (int)sizeof(p->member.s), \
(int)sizeof(p->member.padding) - (int)sizeof(p->member.s), \
(int)RT_ALIGN_Z(sizeof(p->member.s), (align))); \
} while (0)
#define PRINT_OFFSET(strct, member) \
do \
{ \
//.........这里部分代码省略.........
开发者ID:apaka,项目名称:vbox,代码行数:101,代码来源:tstVMStructSize.cpp
示例16: rtMpNotificationLinuxCallback
/**
* The native callback.
*
* @returns NOTIFY_DONE.
* @param pNotifierBlock Pointer to g_NotifierBlock.
* @param ulNativeEvent The native event.
* @param pvCpu The cpu id cast into a pointer value.
*
* @remarks This can fire with preemption enabled and on any CPU.
*/
static int rtMpNotificationLinuxCallback(struct notifier_block *pNotifierBlock, unsigned long ulNativeEvent, void *pvCpu)
{
bool fProcessEvent = false;
RTCPUID idCpu = (uintptr_t)pvCpu;
NOREF(pNotifierBlock);
/*
* Note that redhat/CentOS ported _some_ of the FROZEN macros
* back to their 2.6.18-92.1.10.el5 kernel but actually don't
* use them. Thus we have to test for both CPU_TASKS_FROZEN and
* the individual event variants.
*/
switch (ulNativeEvent)
{
/*
* Pick up online events or failures to go offline.
* Ignore failure events for CPUs we didn't see go offline.
*/
# ifdef CPU_DOWN_FAILED
case CPU_DOWN_FAILED:
# if defined(CPU_TASKS_FROZEN) && defined(CPU_DOWN_FAILED_FROZEN)
case CPU_DOWN_FAILED_FROZEN:
# endif
if (!RTCpuSetIsMember(&g_MpPendingOfflineSet, idCpu))
break; /* fProcessEvents = false */
/* fall thru */
# endif
case CPU_ONLINE:
# if defined(CPU_TASKS_FROZEN) && defined(CPU_ONLINE_FROZEN)
case CPU_ONLINE_FROZEN:
# endif
# ifdef CPU_DOWN_FAILED
RTCpuSetDel(&g_MpPendingOfflineSet, idCpu);
# endif
fProcessEvent = true;
break;
/*
* Pick the earliest possible offline event.
* The only important thing here is that we get the event and that
* it's exactly one.
*/
# ifdef CPU_DOWN_PREPARE
case CPU_DOWN_PREPARE:
# if defined(CPU_TASKS_FROZEN) && defined(CPU_DOWN_PREPARE_FROZEN)
case CPU_DOWN_PREPARE_FROZEN:
# endif
fProcessEvent = true;
# else
case CPU_DEAD:
# if defined(CPU_TASKS_FROZEN) && defined(CPU_DEAD_FROZEN)
case CPU_DEAD_FROZEN:
# endif
/* Don't process CPU_DEAD notifications. */
# endif
# ifdef CPU_DOWN_FAILED
RTCpuSetAdd(&g_MpPendingOfflineSet, idCpu);
# endif
break;
}
if (!fProcessEvent)
return NOTIFY_DONE;
switch (ulNativeEvent)
{
# ifdef CPU_DOWN_FAILED
case CPU_DOWN_FAILED:
# if defined(CPU_TASKS_FROZEN) && defined(CPU_DOWN_FAILED_FROZEN)
case CPU_DOWN_FAILED_FROZEN:
# endif
# endif
case CPU_ONLINE:
# if defined(CPU_TASKS_FROZEN) && defined(CPU_ONLINE_FROZEN)
case CPU_ONLINE_FROZEN:
# endif
rtMpNotificationDoCallbacks(RTMPEVENT_ONLINE, idCpu);
break;
# ifdef CPU_DOWN_PREPARE
case CPU_DOWN_PREPARE:
# if defined(CPU_TASKS_FROZEN) && defined(CPU_DOWN_PREPARE_FROZEN)
case CPU_DOWN_PREPARE_FROZEN:
# endif
rtMpNotificationDoCallbacks(RTMPEVENT_OFFLINE, idCpu);
break;
# endif
}
return NOTIFY_DONE;
//.........这里部分代码省略.........
开发者ID:stefano-garzarella,项目名称:virtualbox-org-svn-vbox-trunk,代码行数:101,代码来源:mpnotification-r0drv-linux.c
示例17: supdrvOSLdrOpen
int VBOXCALL supdrvOSLdrOpen(PSUPDRVDEVEXT pDevExt, PSUPDRVLDRIMAGE pImage, const char *pszFilename)
{
NOREF(pDevExt); NOREF(pImage); NOREF(pszFilename);
return VERR_NOT_SUPPORTED;
}
开发者ID:pombredanne,项目名称:virtualbox-org-svn-vbox-trunk,代码行数:5,代码来源:SUPDrv-solaris.c
示例18: vboxNetFltPortOsNotifyMacAddress
void vboxNetFltPortOsNotifyMacAddress(PVBOXNETFLTINS pThis, void *pvIfData, PCRTMAC pMac)
{
NOREF(pThis); NOREF(pvIfData); NOREF(pMac);
}
开发者ID:sobomax,项目名称:virtualbox_64bit_edd,代码行数:4,代码来源:VBoxNetFlt-freebsd.c
示例19: supdrvOSLdrValidatePointer
int VBOXCALL supdrvOSLdrValidatePointer(PSUPDRVDEVEXT pDevExt, PSUPDRVLDRIMAGE pImage, void *pv, const uint8_t *pbImageBits)
{
NOREF(pDevExt); NOREF(pImage); NOREF(pv); NOREF(pbImageBits);
return VERR_NOT_SUPPORTED;
}
开发者ID:pombredanne,项目名称:virtualbox-org-svn-vbox-trunk,代码行数:5,代码来源:SUPDrv-solaris.c
示例20: vboxNetFltPortOsDisconnectInterface
int vboxNetFltPortOsDisconnectInterface(PVBOXNETFLTINS pThis, void *pvIfData)
{
/* Nothing to do */
NOREF(pThis); NOREF(pvIfData);
return VINF_SUCCESS;
}
开发者ID:sobomax,项目名称:virtualbox_64bit_edd,代码行数:6,代码来源:VBoxNetFlt-freebsd.c
注:本文中的NOREF函数示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论