| 1 |
/* Copyright (C) 2008 Vincent Penquerc'h. |
| 2 |
This file is part of the Kate codec library. |
| 3 |
Written by Vincent Penquerc'h. |
| 4 |
|
| 5 |
Use, distribution and reproduction of this library is governed |
| 6 |
by a BSD style source license included with this source in the |
| 7 |
file 'COPYING'. Please read these terms before distributing. */ |
| 8 |
|
| 9 |
|
| 10 |
#ifndef KATE_kate_meta_h_GUARD |
| 11 |
#define KATE_kate_meta_h_GUARD |
| 12 |
|
| 13 |
#include "kate_internal.h" |
| 14 |
#include "kate/kate.h" |
| 15 |
|
| 16 |
typedef struct kate_meta_leaf { |
| 17 |
char *tag; |
| 18 |
char *value; |
| 19 |
size_t len; |
| 20 |
} kate_meta_leaf; |
| 21 |
|
| 22 |
struct kate_meta { |
| 23 |
size_t nmeta; |
| 24 |
struct kate_meta_leaf *meta; |
| 25 |
}; |
| 26 |
|
| 27 |
extern int kate_meta_create_copy(kate_meta **km,const kate_meta *km2) kate_internal; |
| 28 |
|
| 29 |
#endif |
| 30 |
|