CAPS Universe documentation
1.0.4
All you need to know to be successful
Introduction
Manuals
CAPS API in Detail
Data Structures
Source file list
CAPS source files
libcapsmime
src
libcapsmime.h
Go to the documentation of this file.
1
#pragma once
2
3
/*
4
* SPDX-License-Identifier: LGPL-2.1-or-later
5
*
6
* (c) 2018 Juergen Borleis <projects@caps-printing.org>
7
*
8
* This library is free software; you can redistribute it and/or modify it under
9
* the terms of the GNU Lesser General Public License as published by the Free
10
* Software Foundation; either version 2.1 of the License, or (at your option)
11
* any later version.
12
*
13
* This library is distributed in the hope that it will be useful, but WITHOUT
14
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
15
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
16
* details.
17
*/
18
#include <
libcapsbase.h
>
68
int
detect_mimetype
(
const
char
*buf,
size_t
sz,
const
char
**mimetype)
__nonnull
();
__nonnull
#define __nonnull(params)
Definition:
libcapsbase.h:84
detect_mimetype
int detect_mimetype(const char *buf, size_t sz, const char **mimetype)
Definition:
mime-detect.c:32
libcapsbase.h
Basic API for everything else of the CAPS universe.
The total CAPS universe documentation - Generated by