[4] snmpapi: Implement SnmpUtil{DbgPrint, IdsToA, OidToA,
PrintAsnAny, PrintOid}.
Alexandre Julliard
julliard at winehq.org
Mon Jan 22 05:49:35 CST 2007
Hans Leidekker <hans at it.vu.nl> writes:
> +/***********************************************************************
> + * SnmpUtilPrintOid (SNMPAPI.@)
> + */
> +void WINAPI SnmpUtilPrintOid(AsnObjectIdentifier *oid)
> +{
> + unsigned int i;
> +
> + TRACE("(%p)\n", oid);
> +
> + if (!oid) return;
> +
> + for (i = 0; i < oid->idLength; i++)
> + {
> + printf("%u", oid->ids[i]);
> + if (i < oid->idLength - 1) printf(".");
> + }
> +}
You don't want to use stdio functions in Wine. If apps really depend
on these functions you'd have to use msvcrt, but otherwise you can
simply use TRACE (or not implement them at all).
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list