~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

Linux Cross Reference
cvs/emstar/sim/README-CHANNEL


  1 The "libchannel" directory contains the implementation of all the
  2 channel models.
  3 
  4 If you want to add a new model, there are five (5) steps you should
  5 perform to integrate your model to the library:
  6 
  7 Let's assume you name your model "my_channel".
  8 
  9 1) Add your header file with struct and function declarations in
 10 include/libchannel_my_channel.h and your implementation file with
 11 function definitions in libchannel/libchannel_my_channel.c.
 12 
 13 2) Modify the BUILD directory to add your new file(s) to the libchannel
 14 library.
 15 
 16 3) Modify the include/libchannel.h to "#include" your new
 17 libchannel_my_channel.h
 18 
 19 4) In the libchannel/libchannel_config.c file, modify the
 20 get_channel_model() and print_all_models() functions to include your new
 21 channel model fucntion (see comments in that file for further
 22 instructions).  
 23 
 24 5) Voila!... recompile and check for errors.

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

This page was automatically generated by the LXR engine.
Visit the LXR main site for more information.