FLAM Issue Tracker - FL5
View Issue Details
0000311FL54. Element, Byte, Record or other APIpublic2014-02-04 10:242014-02-11 13:34
Falk Reichbott 
Mykhailo Moldavskyy 
normalfeatureN/A
resolvedfixed 
GeneralGeneralGeneral
0.08 
5.05.0 
0000311: Add FLUCUP as customer API
To use the FLUC commands of FLCL in a program we provide the FLUCUP library. This library has one function (conv, xcnv, icnv, info) for each command and only one parameter containing the command string in the corresponing syntax. Means the function accepts the command line syntax and return success or failed.

Addtional we provide functions for help, manpages and syntax for each command and in general for version, about and license information.
No tags attached.
Issue History
2014-02-04 10:24Falk ReichbottNew Issue
2014-02-04 10:24Falk ReichbottStatusnew => assigned
2014-02-04 10:24Falk ReichbottAssigned To => Mykhailo Moldavskyy
2014-02-11 13:34Falk ReichbottNote Added: 0000288
2014-02-11 13:34Falk ReichbottStatusassigned => resolved
2014-02-11 13:34Falk ReichbottFixed in Version => 5.0
2014-02-11 13:34Falk ReichbottResolutionopen => fixed
2014-12-02 07:43Falk ReichbottCategory4. Element, Byte or Record API => 4. Element, Byte, Record or other API

Notes
(0000288)
Falk Reichbott   
2014-02-11 13:34   
The FLCL commands of FLUC are now available as simple to use API. It provides some standard function for help, syntax and documentation and for each command a function with 3 parameter.

- Command string: this string contains the syntax for the command
- Output file: this string is the name of the output file, if NULL or empty stderr is used.
- Trace file: this string contains the name of the trace file, if NULL or empty the trace will be disabled

Currently the command below are supported:
- INFO, CONV, XCNV, ICNV

A comand line call of CONV:

flcl conv read.text(file='test.txt.gz') write.record(file='test.txt')

can by called for example:

e=flucconv("read.text(file='test.txt.gz') write.record(file='test.txt')",NULL,NULL)