Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Xiph.Org
Icecast-Server
Commits
40c5751a
Commit
40c5751a
authored
Sep 14, 2018
by
Philipp Schafft
🦁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleanup: Updated formating
parent
c97e5d95
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
src/util.h
src/util.h
+10
-10
No files found.
src/util.h
View file @
40c5751a
...
...
@@ -41,13 +41,13 @@ char *util_base64_decode(const char *input);
char
*
util_bin_to_hex
(
unsigned
char
*
data
,
int
len
);
typedef
enum
_util_hostcheck_tag
{
HOSTCHECK_ERROR
=
-
1
,
HOSTCHECK_SANE
=
0
,
HOSTCHECK_NOT_FQDN
,
HOSTCHECK_IS_LOCALHOST
,
HOSTCHECK_IS_IPV4
,
HOSTCHECK_IS_IPV6
,
HOSTCHECK_BADCHAR
HOSTCHECK_ERROR
=
-
1
,
HOSTCHECK_SANE
=
0
,
HOSTCHECK_NOT_FQDN
,
HOSTCHECK_IS_LOCALHOST
,
HOSTCHECK_IS_IPV4
,
HOSTCHECK_IS_IPV6
,
HOSTCHECK_BADCHAR
}
util_hostcheck_type
;
util_hostcheck_type
util_hostcheck
(
const
char
*
hostname
);
...
...
@@ -110,9 +110,9 @@ void util_kva_free(icecast_kva_t *kva);
/* String dictionary type, without support for NULL keys, or multiple
* instances of the same key */
typedef
struct
_util_dict
{
char
*
key
;
char
*
val
;
struct
_util_dict
*
next
;
char
*
key
;
char
*
val
;
struct
_util_dict
*
next
;
}
util_dict
;
util_dict
*
util_dict_new
(
void
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment