libcss
Loading...
Searching...
No Matches
src
charset
detect.h
Go to the documentation of this file.
1
/*
2
* This file is part of LibCSS.
3
* Licensed under the MIT License,
4
* http://www.opensource.org/licenses/mit-license.php
5
* Copyright 2007 John-Mark Bell <jmb@netsurf-browser.org>
6
*/
7
8
#ifndef css_charset_detect_h_
9
#define css_charset_detect_h_
10
11
#include <inttypes.h>
12
13
#include <
libcss/errors.h
>
14
#include <
libcss/functypes.h
>
15
#include <
libcss/types.h
>
16
17
#include <parserutils/errors.h>
18
19
/* Extract a charset from a chunk of data */
20
parserutils_error
css__charset_extract
(
const
uint8_t *data,
size_t
len,
21
uint16_t *mibenum, uint32_t *source);
22
23
#endif
24
css__charset_extract
parserutils_error css__charset_extract(const uint8_t *data, size_t len, uint16_t *mibenum, uint32_t *source)
Definition
detect.c:38
errors.h
functypes.h
types.h
Generated on Sat Dec 6 2025 19:01:31 for libcss by
1.9.8