Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
eac2da63
Commit
eac2da63
authored
Feb 19, 2009
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added G_LOG_DOMAIN macros to several libraries
Define the GLib logging domain in the following libraries: conf, daemon, event_pipe, log.
parent
11e680d6
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
0 deletions
+12
-0
conf.c
src/conf.c
+3
-0
daemon.c
src/daemon.c
+3
-0
event_pipe.c
src/event_pipe.c
+3
-0
log.c
src/log.c
+3
-0
No files found.
src/conf.c
View file @
eac2da63
...
...
@@ -29,6 +29,9 @@
#include <stdlib.h>
#include <errno.h>
#undef G_LOG_DOMAIN
#define G_LOG_DOMAIN "config"
#define MAX_STRING_SIZE MPD_PATH_MAX+80
#define CONF_COMMENT '#'
...
...
src/daemon.c
View file @
eac2da63
...
...
@@ -35,6 +35,9 @@
#include <grp.h>
#endif
#undef G_LOG_DOMAIN
#define G_LOG_DOMAIN "daemon"
#ifndef WIN32
/** the Unix user name which MPD runs as */
...
...
src/event_pipe.c
View file @
eac2da63
...
...
@@ -34,6 +34,9 @@
#include <fcntl.h>
#endif
#undef G_LOG_DOMAIN
#define G_LOG_DOMAIN "event_pipe"
static
int
event_pipe
[
2
];
static
guint
event_pipe_source_id
;
static
GMutex
*
event_pipe_mutex
;
...
...
src/log.c
View file @
eac2da63
...
...
@@ -38,6 +38,9 @@
#include <syslog.h>
#endif
#undef G_LOG_DOMAIN
#define G_LOG_DOMAIN "log"
#define LOG_LEVEL_SECURE G_LOG_LEVEL_INFO
#define LOG_DATE_BUF_SIZE 16
...
...
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