File: kate-format-styles-header.doc

package info (click to toggle)
libkate 0.4.1-1
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 5,516 kB
  • sloc: ansic: 10,960; sh: 10,344; yacc: 2,358; python: 767; lex: 363; makefile: 245
file content (32 lines) | stat: -rw-r--r-- 1,020 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/* Copyright (C) 2008 Vincent Penquerc'h.
   This file is part of the Kate codec library.
   Written by Vincent Penquerc'h.

   Use, distribution and reproduction of this library is governed
   by a BSD style source license included with this source in the
   file 'COPYING'. Please read these terms before distributing. */


/**

\page format_0x83 Format - header packet type 0x83 - styles

This header contains a (possibly empty) list of predefined styles
that may be referred to by data packets.
This header is mandatory, even if no styles are predefined.

As with all headers, the first 8 bytes are composed of the header
type (0x83) and the 7 byte kate signature ("kate\0\0\0").

Next, we find a \ref format_32v "variable length integer", holding the number
of predefined styles this header contains. A negative value is an error.

Next, we find a list of \ref format_style "style" definitions, as many as defined
int the previously read number.

Next, we find a \ref format_warp "warp".

Next, the data ends.

*/