libisoburn  1.5.4
About: libisoburn is a frontend for the libraries libburn and libisofs which enables creation and expansion of ISO-9660 filesystems on all media and file types supported by libburn. It implements the API and command interpreter of program xorriso, and installs this program as small dynamically linked binary. xorriso is suitable for incremental data backup and for production of bootable ISO 9660 images. A statically linked version is available as GNU xorriso.
  Fossies Dox: libisoburn-1.5.4.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

api_3lib.cpp
Go to the documentation of this file.
1 // Just to ensure we are C++-clean. This should not spit too much noise
2 
3 /* Copyright 2011 George Danchev <danchev@spnet.net>
4  * Released into the public domain
5  */
6 
7 #if __WORDSIZE == 32
8 #define _LARGEFILE_SOURCE 1
9 #define _FILE_OFFSET_BITS 64
10 #endif
11 
12 #include <iostream>
13 #include <inttypes.h>
14 
15 //extern "C" {
16 #include "libburn/libburn.h"
17 #include "libisofs/libisofs.h"
18 // using namespace burn;
19 // (this was needed to before rev.4062 of libisoburn)
20 #include "libisoburn/libisoburn.h"
21 //}
22 
23 int main() {
24  int major=-1, minor=-1, micro=-1;
25  isoburn_version(&major, &minor, &micro);
26  if (major<0 || minor<0 || micro<0)
27  return -1;
28  std::cout
29  << " major:" << major
30  << " minor:" << minor
31  << " micro:" << micro
32  ;
33  return 0;
34 }
int main()
Definition: api_3lib.cpp:23
void isoburn_version(int *major, int *minor, int *micro)
Obtain the three release version numbers of the library.
Definition: isoburn.c:808