Re: [PATH] update to earlier proposed patch for getanyrr() function addition
| From: | (Marcus Börger) | Date: | Mon, 18 Nov 2002 10:37:06 +0000 |
| Subject: | Re: [PATH] update to earlier proposed patch for getanyrr() function addition | ||
| References: | 1 2 3 4 5 6 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-91244@lists.php.net to get a copy of this message | ||
At 11:23 18.11.2002, Derick Rethans wrote:
On Mon, 18 Nov 2002, Melvyn Sopacua wrote: At 07:52 18-11-2002, Derick Rethans wrote:The first step should be making it a woring function with an agreed prototype and behaviour. I guess we would need some new datatype definitions to make this happen. So this would require some more work not needed directly. I made a new version which allows the use of a bitmask for the type parameter as suggested by Derick. You can now do dns_get_resord(...,DNS_ANY) dns_get_resord(...,DNS_ALL) dns_get_resord(...,DNS_MX) dns_get_resord(...,DNS_MX|DNS_SOA|...) DNS_ANY|DNS_xxx is not allowed. http://marcus-boerger.de/dns_get_record.diff marcusOn Mon, 18 Nov 2002, Marcus Börger wrote:Actually - I think it should be PHP_API'd. Any extension needing DNS lookups doesn't have to rewrite it's own routine then. Especially now that you can get any record type, I can see the usefullness. And of course a central place for all those different implemenations to maintain. Makes sense to me... DerickI don't think so. It is only a small extension to the functionality we have already. If there would be more functionality to add during the next release cycle i would agree to move this to a new extension. But let's here the others.It's only 2 functions for now, IMO it doesn't warrant a new extention yet.