libfossil
forum.h
Go to the documentation of this file.
1
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2
/* vim: set ts=2 et sw=2 tw=80: */
3
#if !defined(ORG_FOSSIL_SCM_FSL_FORUM_H_INCLUDED)
4
#define ORG_FOSSIL_SCM_FSL_FORUM_H_INCLUDED
5
/*
6
Copyright 2013-2021 The Libfossil Authors, see LICENSES/BSD-2-Clause.txt
7
8
SPDX-License-Identifier: BSD-2-Clause-FreeBSD
9
SPDX-FileCopyrightText: 2021 The Libfossil Authors
10
SPDX-FileType: Code
11
12
Heavily indebted to the Fossil SCM project (https://fossil-scm.org).
13
14
******************************************************************************
15
This file declares public APIs for working with fossil-managed forum
16
content.
17
*/
18
19
#include "
core.h
"
/* MUST come first b/c of config macros */
20
21
#if defined(__cplusplus)
22
extern
"C"
{
23
#endif
24
25
/**
26
If the given fossil context has a db opened, this function
27
installs, if needed, the forum-related schema and returns 0 on
28
success (or if no installation was needed). If f has no repository
29
opened, FSL_RC_NOT_A_REPO is returned. Some other FSL_RC_xxx value
30
is returned if there is a db-level error during installation.
31
*/
32
int
fsl_repo_install_schema_forum
(
fsl_cx
*f);
33
34
35
#if defined(__cplusplus)
36
}
/*extern "C"*/
37
#endif
38
#endif
39
/* ORG_FOSSIL_SCM_FSL_FORUM_H_INCLUDED */
core.h
This file declares the core SCM-related public APIs.
fsl_repo_install_schema_forum
int fsl_repo_install_schema_forum(fsl_cx *f)
If the given fossil context has a db opened, this function installs, if needed, the forum-related sch...
fsl_cx
The main Fossil "context" type.
Definition
internal.h:400
include
fossil-scm
forum.h
Generated on
for libfossil by
1.17.0