Statistics
| Branch: | Revision:

chunker-player / chunker_metadata.h @ 1e69ae95

History | View | Annotate | Download (466 Bytes)

1
#ifndef _CHUNKER_METADATA_H
2
#define _CHUNKER_METADATA_H
3

    
4

    
5
#include <stdlib.h>
6
#include <string.h>
7
#include <stdio.h>
8
#include "external_chunk.h"
9

    
10
typedef struct chunker_metadata {
11
    ExternalChunk *echunk;
12
    int size;
13
    int strategy;
14
    int val_strategy; //value of current strategy (number of chunks if first strategy, num of bytes if second strategy)
15
} ChunkerMetadata;
16

    
17
void chunker_trim(char *s);
18
ChunkerMetadata *chunkerInit(const char *config);
19

    
20

    
21
#endif