title: Apache module, determine name of config file passed into function
body: <hr>
  
  <p>No, I am NOT asking where to find httpd.conf</p>
  
  <hr>
  
  <p>I have been given code for a module that I need to tinker with and since I can't find any good documentation on the subject I am asking you.</p>
  
  <pre><code>const char* receiver_set_config_path(cmd_parms* cmd, void* cfg, const char* arg)
  {
      receiver_config_path = arg;
      return NULL;
  }
  </code></pre>
  
  <p>In this code there is a cfg passed in. I want to determine the name of this specific cfg file being passed in so I can log the name. How would I go about doing this? This function is setup in my receiver_directives[].</p>
  
  <pre><code>static const command_rec        receiver_directives[] =
  {
      AP_INIT_TAKE1("ReceiverPath", receiver_set_config_path, NULL, RSRC_CONF, "The path the receiver will put files"),
      { NULL }
  };
  </code></pre>
  
  <p>Your help is greatly appreciated!</p>