Reference

ctif(1)

Automatic C generator for ToolBus interfaces

NAME

ctif - Automatic C generator for ToolBus interfaces

SYNOPSIS

ctif [ -help ] [ -tool ToolName ] [ -tifs ToolInterfaces ] [ -multi ] [ -newstyle ] [ -backdoor ] [ -split ]

DESCRIPTION

This manual page briefly describes the ctif commands.

ctif generates C interface code for connecting tools with the ToolBus.

The generated tool interface is always written to a file named ToolName.tif.c.

For example ``calc.tif.c'' when the tool name is ``calc''. When the -split command line option is specified function declarations and functions definitions are separated in ToolName.tif.h and ToolName.tif.c

OPTIONS

-help

print a description of all arguments of the toolbus or tool

-tool ToolName

name of the tool as used in the ToolBus scrip

-tifs ToolInterfaces

interfaces files as generated by the ToolBus, e.g. toolbus -gentifs my_script.tb

-multi

generate multi-tool ready C code including cid refs.

-newstyle

generate new style handlers, i.e. aterm * and Tmatch

-backdoor

generate a backdoor in situations where not all functions are known.

-split

write function declarations to .h and function definitions to .c file

SEE ALSO

gen-adapter(1), perl-adapter(1), tifstoc(1)

AUTHOR

This manual page was written by Julien LEMOINE <[email protected]>. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts and no Back-Cover Texts.