libole2 Library Reference Manual
<<< Previous Page | Home | Up |

# Miscellaneous

## Name

Miscellaneous -- Support functions.

## Synopsis

    #include <libole2/libole2.h>

    #define     LIBOLE2_MAJOR_VERSION
    #define     LIBOLE2_MINOR_VERSION
    #define     LIBOLE2_MICRO_VERSION
    extern      int libole2_major_version;
    extern      int libole2_minor_version;
    extern      int libole2_micro_version;
    void        ms_ole_dump                     (guint8 const *ptr,
                                                 guint32 len);

## Description

The next definitions can help when using libole2.

## Details

### LIBOLE2_MAJOR_VERSION

    #define LIBOLE2_MAJOR_VERSION 0

### LIBOLE2_MINOR_VERSION

    #define LIBOLE2_MINOR_VERSION 1

### LIBOLE2_MICRO_VERSION

    #define LIBOLE2_MICRO_VERSION 0

### libole2_major_version

    extern int libole2_major_version;

It must be equal than LIBOLE2_MAJOR_VERSION.

### libole2_minor_version

    extern int libole2_minor_version;

It must be equal than LIBOLE2_MINOR_VERSION.

### libole2_micro_version

    extern int libole2_micro_version;

It must be equal than LIBOLE2_MICRO_VERSION.

### ms_ole_dump ()

    void        ms_ole_dump                     (guint8 const *ptr,
                                                 guint32 len);

Dump `len` bytes from the memory location given by `ptr`.

`ptr` : | memory area to be dumped.
`len` : | how many bytes will be dumped.

<<< Previous Page | Home | Up |
Common |