Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Command export

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.

6 REPLIES
Silver
New Member

Re: Command export

already done.

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

thanks again for your help

Hall of Fame Super Gold

Re: Command export

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.

New Member

Re: Command export

thanks a lot for your precious help.

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

Thx again

Hall of Fame Super Gold

Re: Command export

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.

New Member

Re: Command export

thx a lot for this answer.

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

Sincere thanks and regards

229
Views
0
Helpful
6
Replies
CreatePlease login to create content