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

[ns] use c++ fuction in ns script?



hi...
I add some variables and fuctions to queue.h and queue.cc.

In queue.cc, I do this :
             bind("myvar_",&myvar_);
So, I can get myvar in ns script now.

My question is :
Could I call my functions in ns script?
for ex,
$myqueue myfuction

If yes, how?
What files Should I modify?
Thanks a lot... :)

     Jay...