>>>  sub MyDirective {
>>>    my($self, $parms, $args) = @_;
>>>    my $info = $parms->info;
>>>                       ^^^^
>>>
>>> Wouldn't $parms->cmd_data make more sense ?

>> +1
>>
>> Especially since parms->info on the C level is something else. It's
>> really parms->info->cmd_data.

while our code interface into it is parms->info->cmd_data that's not the way
a C programmer would use it.  over in C land the directive handler interface
looks exactly like the current perl interface.  for instance, from core.c:

static const char *set_server_string_slot(cmd_parms *cmd, void *dummy,
                                          const char *arg)
{
    /* This one's pretty generic... */


    int offset = (int)(long)cmd->info;

so, unless I'm missing something, I don't see the reason to change this
interface at all.

--Geoff



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to