OBUS-GEN-INTERFACE(1) General Commands Manual OBUS-GEN-INTERFACE(1)NAME
obus-gen-interface - convert D-Bus introspection files to ocaml code
SYNOPSIS
obus-gen-interface [ options ] input-file
DESCRIPTION
obus-gen-interface generates an OCaml module from a D-Bus introspection file. The generated module contains methods, signals and properties
definitions. It is required for by both client-side and server-side code.
Note that the files generated by obus-gen-interface are not meant to be edited.
OPTIONS -o output-prefix
Use this name as output prefix. It defaults to the input file name without its extension and extended with "_interfaces". For exam-
ple, if the input file name is "foo.xml" (or "foo.obus"), then "obus-gen-interface" will generate "foo_interfaces.ml" and
"foo_interfaces.mli".
-keep-common
Keeps common interfaces, i.e. all interfaces starting with "org.freedesktop.DBus". By default they are dropped.
-mode {both|client|server}
Set the code generation mode. It defaults to "both". In "client" mode, only code for client-side use is generated. In "server" mode,
only code for server-side use is generated. In "both" mode, code for client-side and server-side use is generated.
-help or --help
Display a short usage summary and exit.
AUTHOR
Jeremie Dimino <jeremie@dimino.org>
SEE ALSO obus-introspect(1), obus-gen-client(1), obus-gen-server(1).
April 2010 OBUS-GEN-INTERFACE(1)
Check Out this Related Man Page
GEN-CTL-IO(1) libctl GEN-CTL-IO(1)NAME
gen-ctl-io - generate C interface code for libctl control files
SYNOPSIS
gen-ctl-io [OPTION]... [spec-file]
DESCRIPTION
gen-ctl-io generates C code to import/export the input/output variables used in a libctl control file. gen-ctl-io generates files like
ctl-io.h and ctl-io.c. These files define global variables, data structures, and functions for the input/output variables, classes, and
function interfaces defined in the spec-file argument, automating the interaction between C and Guile.
The arguments such as --code and --header are used to control whether ctl-io.c or ctl-io.h, etcetera, are generated. If no argument is
specified then both of these files are generated by default, for backwards compatibility.
libctl is a free library to aid in interfacing scientific software with the GNU Guile scripting and extension language. Documentation for
it may be found online at the libctl home page: http://ab-initio.mit.edu/libctl
OPTIONS --code Generate C (or C++) source code to implement the Guile interface functions. The default output file name is ctl-io.c (in C) or ctl-
io.cpp (in C++).
--header
Generate the header file declaring the interface data types and functions. The default output file name is ctl-io.h (in C) or ctl-
io.hpp (in C++).
--swig Generate a SWIG interface definition file declaring automatic conversions for the various libctl data types. The default output
file name is ctl-io.i.
--cxx Generate C++ code instead of C code.
-o file
Use file as the output file name instead of the defaults (above).
BUGS
Send bug reports to S. G. Johnson, stevenj@alum.mit.edu.
AUTHORS
Written by Steven G. Johnson.
libctl March 27, 2006 GEN-CTL-IO(1)
Hello,
I know it is too simple but I do not know..
:/
#!/bin/bash
for file in *.mp4
do
echo "$file"
ffmpeg -i $file 2>&1 | grep Duration |cut -d ' ' -f 4 | sed s/,//
done
Expected Output:
NF_-_Let_You_Down-fbHbTBP_u7U.mp4 00:03:35.74
NF_-_WHY-zuJV-DAv_wE.mp4 00:03:11.87... (7 Replies)