Logo Search packages:      
Sourcecode: catdoc version File versions

ole.c File Reference


Detailed Description

Parsing structure of MS Office compound document.

Author:
Alex Ott, Victor B Wagner
Date:
Wed Jun 11 12:33:01 2003 Version:
Id
ole.c,v 1.14 2003/12/24 12:20:46 ott Exp
Copyright: Victor B Wagner, 1996-2003 Alex Ott, 2003

This file is part of catdoc project and distributed under GNU Public License

Definition in file ole.c.

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>
#include "catdoc.h"

Go to the source code of this file.

Defines

#define FEOF   feof
#define min(a, b)   ((a) < (b) ? (a) : (b))

Functions

long int calcFileBlockOffset (oleEntry *e, long int blk)
oleType getOleType (char *oleBuf)
int ole_close (FILE *stream)
int ole_eof (FILE *stream)
void ole_finish (void)
FILE * ole_init (FILE *f, void *buffer, size_t bufSize)
int ole_open (FILE *stream)
size_t ole_read (void *ptr, size_t size, size_t nmemb, FILE *stream)
FILE * ole_readdir (FILE *f)
int rightOleType (char *oleBuf)
void set_ole_func (void)
void set_std_func (void)

Variables

unsigned char * BBD = NULL
long int bbdNumBlocks
long int bbdStart
int(* catdoc_eof )(FILE *stream)
size_t(* catdoc_read )(void *ptr, size_t size, size_t nmemb, FILE *stream)
long int fileLength = 0
static char ole_sign [] = {0xD0,0xCF,0x11,0xE0,0xA1,0xB1,0x1A,0xE1,0}
long propCurNumber
unsigned char * properties = NULL
long propLen
long propNumber
long propStart
oleEntry * rootEntry = NULL
unsigned char * SBD = NULL
long int sbdLen
long int sbdNumber
long int sbdStart
long int sectorSize


Generated by  Doxygen 1.6.0   Back to index