Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Nov 2005 15:17:38 +0100
From:      Jose Marcio Martins da Cruz <Jose-Marcio.Martins@ensmp.fr>
To:        freebsd-hackers@freebsd.org
Subject:   res_nXXX function
Message-ID:  <437C9102.7070909@ensmp.fr>

next in thread | raw e-mail | index | archive | help
This is a cryptographically signed message in MIME format.

--------------ms090909000900000902000309
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit


Hello,

It seems that FreeBSD doesn't have reentrant versions of DNS query functions
(res_nXXX, ...).

What's the best and easiest way to be able to use these functions on a FreeBSD
application ?

Thanks for the replies

Jose



--------------ms090909000900000902000309
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIJwDCC
BNwwggLEoAMCAQICAwD1ZzANBgkqhkiG9w0BAQQFADB5MRAwDgYDVQQKEwdSb290IENBMR4w
HAYDVQQLExVodHRwOi8vd3d3LmNhY2VydC5vcmcxIjAgBgNVBAMTGUNBIENlcnQgU2lnbmlu
ZyBBdXRob3JpdHkxITAfBgkqhkiG9w0BCQEWEnN1cHBvcnRAY2FjZXJ0Lm9yZzAeFw0wNTAz
MDIyMTQ3MjlaFw0wNjAzMDIyMTQ3MjlaMFMxJDAiBgNVBAMTG0pvc2UtTWFyY2lvIE1hcnRp
bnMgZGEgQ3J1ejErMCkGCSqGSIb3DQEJARYcSm9zZS1NYXJjaW8uTWFydGluc0BlbnNtcC5m
cjCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMyu8K6aUJMX2ZJP69UGRaB/gZ2W
FzSXUpLmA+1lNGlc40X8D6N9mTwWX/IpI1Ppcxd9QYOBLm2M2Atc7IjV78MXj75dGYbOT0Dz
YUovwoTGhKOYg18VIuxQ4rinGEI8eI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AQkPMUUwQzAKBggqhkiG9w0DBzAOBggqhkiG9w0DAgICAIAwDQYIKoZIhvcNAwICAUAwBwYF
Kw4DAgcwDQYIKoZIhvcNAwICASgwgZEGCSsGAQQBgjcQBDGBgzCBgDB5MRAwDgYDVQQKEwdS
b290IENBMR4wHAYDVQQLExVodHRwOi8vd3d3LmNhY2VydC5vcmcxIjAgBgNVBAMTGUNBIENl
cnQgU2lnbmluZyBBdXRob3JpdHkxITAfBgkqhkiG9w0BCQEWEnN1cHBvcnRAY2FjZXJ0Lm9y
ZwIDAPVnMIGTBgsqhkiG9w0BCRACCzGBg6CBgDB5MRAwDgYDVQQKEwdSb290IENBMR4wHAYD
VQQLExVodHRwOi8vd3d3LmNhY2VydC5vcmcxIjAgBgNVBAMTGUNBIENlcnQgU2lnbmluZyBB
dXRob3JpdHkxITAfBgkqhkiG9w0BCQEWEnN1cHBvcnRAY2FjZXJ0Lm9yZwIDAPVnMA0GCSqG
SIb3DQEBAQUABIIBALqsiNht64mRB/fyoJ3X3fTrWaUjEvp3qLI6FdrpRUMrjS3I0uh0dsAc
UJ5iEJRPzi5QjTVM+dN+Gvz/kY6yaYDHQEN3npvycjmvKX6/xHbnzqjvTd8ZWOfWKn3J8Vs+
ISORGbGj8UFkNx0fdxm3Fy0hcN3iEfsAwkjX9Re+ajOR13IL/1pwRXyvNJmSwygOroKZYI91
tGYEOxgD/rk65j94trzSLPNtwfgtr3M7agaNlz4znv21/PKDGCo2r5WdaFqbXmvW78t9XidG
zu79xkye6DTNEtE7d35rIDlwxK8etPRBED1354RamR+L4E+dSFkgL3VSk3NUdjLr4tT8HccA
AAAAAAA=
--------------ms090909000900000902000309--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?437C9102.7070909>