Page Menu
Home
GnuPG
Search
Configure Global Search
Log In
Files
F34385069
cpphelp.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Size
1 KB
Subscribers
None
cpphelp.h
View Options
#ifndef CPPHELP_H
#define CPPHELP_H
/* @file cpphelp.h
* @brief Common cpp helper stuff
*
* Copyright (C) 2018 Intevation GmbH
*
* This file is part of GpgOL.
*
* GpgOL is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* GpgOL is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
#include
<string>
#include
<vector>
#include
<map>
/* Stuff that should be in common but is c++ so it does not fit in there. */
/* Release a null terminated char* array */
void
release_cArray
(
char
**
carray
);
/* Trim whitespace from a string. */
void
rtrim
(
std
::
string
&
s
);
/* Convert a string vector to a null terminated char array */
char
**
vector_to_cArray
(
const
std
::
vector
<
std
::
string
>
&
vec
);
/* Check if we are in de_vs mode. */
bool
in_de_vs_mode
();
/* Get a map of all subkey value pairs in a registry key */
std
::
map
<
std
::
string
,
std
::
string
>
get_registry_subkeys
(
const
char
*
path
);
std
::
vector
<
std
::
string
>
gpgol_split
(
const
std
::
string
&
s
,
char
delim
);
#endif
// CPPHELP_H
File Metadata
Details
Attached
Mime Type
text/x-c
Expires
Sun, Jan 4, 5:44 AM (1 d, 20 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
36/76/37f9b91a038f243a61d844f814e2
Attached To
rO GpgOL
Event Timeline
Log In to Comment