Skip to content

Commit

Permalink
db_flatstore: removed trailing spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
miconda committed Nov 13, 2023
1 parent 9617e44 commit 0e450c1
Show file tree
Hide file tree
Showing 20 changed files with 66 additions and 66 deletions.
8 changes: 4 additions & 4 deletions src/modules/db_flatstore/db_flatstore.c
Expand Up @@ -16,15 +16,15 @@
* details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

/** \addtogroup flatstore
* @{
* @{
*/

/** \file
/** \file
* Flatstore module interface.
*/
#include "db_flatstore.h"
Expand All @@ -50,7 +50,7 @@ static int mod_init(void);
static void mod_destroy(void);


/** PID to be used in file names.
/** PID to be used in file names.
* The flatstore module generates one file per SER process to ensure that
* every SER process has its own file and no locking/synchronization is
* necessary. This variable contains a unique id of the SER process which
Expand Down
4 changes: 2 additions & 2 deletions src/modules/db_flatstore/db_flatstore.h
Expand Up @@ -16,7 +16,7 @@
* details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

Expand All @@ -28,7 +28,7 @@
*/
/** @{ */

/** \file
/** \file
* Flatstore module interface.
*/

Expand Down
6 changes: 3 additions & 3 deletions src/modules/db_flatstore/flat_cmd.c
Expand Up @@ -16,15 +16,15 @@
* details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

/** \addtogroup flatstore
* @{
* @{
*/

/** \file
/** \file
* Inmplementation of flatstore commands.
*/

Expand Down
6 changes: 3 additions & 3 deletions src/modules/db_flatstore/flat_cmd.h
Expand Up @@ -16,18 +16,18 @@
* details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

#ifndef _FLAT_CMD_H
#define _FLAT_CMD_H

/** \addtogroup flatstore
* @{
* @{
*/

/** \file
/** \file
* Inmplementation of flatstore commands.
*/

Expand Down
8 changes: 4 additions & 4 deletions src/modules/db_flatstore/flat_con.c
Expand Up @@ -16,15 +16,15 @@
* details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

/** \addtogroup flatstore
* @{
* @{
*/

/** \file
/** \file
* Inmplementation of flatstore "connections".
*/

Expand Down Expand Up @@ -253,7 +253,7 @@ int flat_open_table(int *idx, db_con_t *con, str *name)
if(fcon->n == i) {
/* Perform operations that can fail first (before resizing
* fcon->file, so that we can fail gracefully if one of the
* operations fail.
* operations fail.
*/
if((filename = get_filename(&furi->path, name)) == NULL)
goto no_mem;
Expand Down
8 changes: 4 additions & 4 deletions src/modules/db_flatstore/flat_con.h
Expand Up @@ -16,18 +16,18 @@
* details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

#ifndef _FLAT_CON_H
#define _FLAT_CON_H

/** \addtogroup flatstore
* @{
* @{
*/

/** \file
/** \file
* Inmplementation of flatstore "connections".
*/

Expand All @@ -38,7 +38,7 @@
#include <stdio.h>


/**
/**
* Per-connection flags for flatstore connections.
*/
enum flat_con_flags
Expand Down
6 changes: 3 additions & 3 deletions src/modules/db_flatstore/flat_rpc.c
Expand Up @@ -16,15 +16,15 @@
* details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

/** \addtogroup flatstore
* @{
* @{
*/

/** \file
/** \file
* Flatstore management interface
*/

Expand Down
6 changes: 3 additions & 3 deletions src/modules/db_flatstore/flat_rpc.h
Expand Up @@ -16,18 +16,18 @@
* details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

#ifndef _FLAT_RPC_H
#define _FLAT_RPC_H

/** \addtogroup flatstore
* @{
* @{
*/

/** \file
/** \file
* Flatstore management interface
*/

Expand Down
6 changes: 3 additions & 3 deletions src/modules/db_flatstore/flat_uri.c
Expand Up @@ -15,15 +15,15 @@
* details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

/** \addtogroup flatstore
* @{
* @{
*/

/** \file
/** \file
* The implementation of parser parsing flatstore:.. URIs.
*/

Expand Down
8 changes: 4 additions & 4 deletions src/modules/db_flatstore/flat_uri.h
Expand Up @@ -15,25 +15,25 @@
* details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

#ifndef _FLAT_URI_H
#define _FLAT_URI_H

/** \addtogroup flatstore
* @{
* @{
*/

/** \file
/** \file
* The functions parsing and interpreting flatstore: URIs.
*/

#include "../../lib/srdb2/db_uri.h"
#include "../../lib/srdb2/db_drv.h"

/** Flatstore driver specific payload to attach to db_uri structures.
/** Flatstore driver specific payload to attach to db_uri structures.
* This is the flatstore specific structure that will be attached to generic
* db_uri structures in the database API in SER. The structure is used to
* convert relative pathnames in flatstore URIs to absolute.
Expand Down
6 changes: 3 additions & 3 deletions src/modules/db_flatstore/km_flat_con.c
@@ -1,4 +1,4 @@
/*
/*
* Flastore module connection structure
*
* Copyright (C) 2004 FhG Fokus
Expand All @@ -15,8 +15,8 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

Expand Down
6 changes: 3 additions & 3 deletions src/modules/db_flatstore/km_flat_con.h
@@ -1,4 +1,4 @@
/*
/*
* Flatstore module connection structure
*
* Copyright (C) 2004 FhG Fokus
Expand All @@ -15,8 +15,8 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

Expand Down
6 changes: 3 additions & 3 deletions src/modules/db_flatstore/km_flat_id.c
@@ -1,4 +1,4 @@
/*
/*
* Flatstore module connection identifier
*
* Copyright (C) 2004 FhG Fokus
Expand All @@ -15,8 +15,8 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

Expand Down
6 changes: 3 additions & 3 deletions src/modules/db_flatstore/km_flat_id.h
@@ -1,4 +1,4 @@
/*
/*
* Flatstore connection identifier
*
* Copyright (C) 2004 FhG Fokus
Expand All @@ -15,8 +15,8 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

Expand Down
6 changes: 3 additions & 3 deletions src/modules/db_flatstore/km_flat_pool.c
@@ -1,4 +1,4 @@
/*
/*
* Flatstore module connection pool
*
* Copyright (C) 2004 FhG Fokus
Expand All @@ -15,8 +15,8 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

Expand Down
6 changes: 3 additions & 3 deletions src/modules/db_flatstore/km_flat_pool.h
@@ -1,4 +1,4 @@
/*
/*
* Flatstore module connection pool
*
* Copyright (C) 2004 FhG Fokus
Expand All @@ -15,8 +15,8 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

Expand Down
12 changes: 6 additions & 6 deletions src/modules/db_flatstore/km_flatstore.c
@@ -1,4 +1,4 @@
/*
/*
* Flatstore module interface
*
* Copyright (C) 2004 FhG Fokus
Expand All @@ -15,8 +15,8 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*
*/
Expand Down Expand Up @@ -59,11 +59,11 @@ db1_con_t *flat_db_init(const str *url)
}

/* We do not know the name of the table (and the name of the corresponding
* file) at this point, we will simply store the path taken from the url
* parameter in the table variable, flat_use_table will then pick that
* file) at this point, we will simply store the path taken from the url
* parameter in the table variable, flat_use_table will then pick that
* value and open the file
*/
/* as the table (path) is a substring of the received str, we need to
/* as the table (path) is a substring of the received str, we need to
* allocate a separate str struct for it -bogdan
*/
res = pkg_malloc(
Expand Down
6 changes: 3 additions & 3 deletions src/modules/db_flatstore/km_flatstore.h
@@ -1,4 +1,4 @@
/*
/*
* Flatstore module interface
*
* Copyright (C) 2004 FhG Fokus
Expand All @@ -15,8 +15,8 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

Expand Down

0 comments on commit 0e450c1

Please sign in to comment.