Command export

Unanswered Question
Mar 26th, 2007

Hi everybody, thank you for reading my post

I read on the tcl ivr guide 2.0 that this command existed. I may have to use a c-code. But I can't find more infos.

Thanks for your help

Here is what you can read on the guide:

Command export

The command export command lets the Tcl script register or export a Tcl procedure to be invoked from C-code through a dynamic linking mechanism.

Syntax

command export <command> <command>

Arguments

?<command>?The expanded name, including namespace information needed to invoke the procedure from outside its native namespace.

?<command>?A parameter template that the Tcl procedure accepts, allowing the DLL system to make sure the C-code that invokes this API calls it with the right type and number of parameters. This string is of the form xMadMadMadMadMad, where each x indicates the type of parameter permitted. The first x indicates the return type of the procedure. The value of x can be s to represent a string or char* parameter.

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
mehdifialli Fri, 03/30/2007 - 09:21

already done.

This is where I found the command.Have nothing else ?

thanks again for your help

Paolo Bevilacqua Sat, 03/31/2007 - 09:30

I don't think you can do that. Linking C code implies compiling your code for the platform used, with the standards used by IOS, and knowledge of the inners of IOS. Unless pure code, you wouldn't be able to call anny standard function.

I think it is an hook left by for exclusive use bu future IOS and features.

mehdifialli Sun, 04/01/2007 - 23:35

thanks a lot for your precious help.

Have no idea how can u implement c-code with ios ?

Thx again

Paolo Bevilacqua Mon, 04/02/2007 - 03:30

As I said, I'm reasonably sure you cannot develop C code to work with IOS, because Cisco doesn;t support that and does not provide the necessary technical information.

mehdifialli Mon, 04/02/2007 - 03:33

thx a lot for this answer.

Indeed I couldn't find more infos about c-codes.

Sincere thanks and regards

Actions

This Discussion