[users@httpd] Re: [apachemlen] [users@httpd] [Question] How to write driver to test my module for Unit Test?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have solved following problem by myself.
They are a little difficult because that register HOOK Functions are MACRO.

T. Okamoto
Okamoto Toshiaki wrote:
> Hi!
> I have one question.
> I would like to test my modules.
> [Question] How to write driver to call my_module, my_register_hook()?
> Ex.
> 1. driver.c
> main(){
> /* load my_modle */
> /* call my_register_hook() */
> /* call my_post_config() */
> }
> 
> 2.my_module.c: my module
> module my_module{
> .
> .
> my_register_hooks;
> }
> my_register_hook()
> my_post_config()
> 
> Many thanks.
> T.Okamoto
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
>    "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
> 
> 


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux