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
377a2b9e
Commit
377a2b9e
authored
Jan 09, 2013
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ClientList: add header ClientList.hxx
parent
04599300
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
52 additions
and
19 deletions
+52
-19
Makefile.am
Makefile.am
+1
-1
ClientExpire.cxx
src/ClientExpire.cxx
+1
-0
ClientGlobal.cxx
src/ClientGlobal.cxx
+1
-0
ClientIdle.cxx
src/ClientIdle.cxx
+1
-0
ClientInternal.hxx
src/ClientInternal.hxx
+0
-18
ClientList.cxx
src/ClientList.cxx
+1
-0
ClientList.hxx
src/ClientList.hxx
+45
-0
ClientNew.cxx
src/ClientNew.cxx
+1
-0
MessageCommands.cxx
src/MessageCommands.cxx
+1
-0
No files found.
Makefile.am
View file @
377a2b9e
...
...
@@ -232,7 +232,7 @@ src_mpd_SOURCES = \
src/ClientExpire.cxx
\
src/ClientGlobal.cxx
\
src/ClientIdle.cxx src/ClientIdle.hxx
\
src/ClientList.cxx
\
src/ClientList.cxx
src/ClientList.hxx
\
src/ClientNew.cxx
\
src/ClientProcess.cxx
\
src/ClientRead.cxx
\
...
...
src/ClientExpire.cxx
View file @
377a2b9e
...
...
@@ -19,6 +19,7 @@
#include "config.h"
#include "ClientInternal.hxx"
#include "ClientList.hxx"
static
guint
expire_source_id
;
...
...
src/ClientGlobal.cxx
View file @
377a2b9e
...
...
@@ -19,6 +19,7 @@
#include "config.h"
#include "ClientInternal.hxx"
#include "ClientList.hxx"
#include "conf.h"
#include <assert.h>
...
...
src/ClientIdle.cxx
View file @
377a2b9e
...
...
@@ -20,6 +20,7 @@
#include "config.h"
#include "ClientIdle.hxx"
#include "ClientInternal.hxx"
#include "ClientList.hxx"
extern
"C"
{
#include "idle.h"
...
...
src/ClientInternal.hxx
View file @
377a2b9e
...
...
@@ -118,24 +118,6 @@ extern int client_timeout;
extern
size_t
client_max_command_list_size
;
extern
size_t
client_max_output_buffer_size
;
bool
client_list_is_empty
(
void
);
bool
client_list_is_full
(
void
);
Client
*
client_list_get_first
(
void
);
void
client_list_add
(
Client
*
client
);
void
client_list_foreach
(
GFunc
func
,
gpointer
user_data
);
void
client_list_remove
(
Client
*
client
);
void
client_close
(
Client
*
client
);
...
...
src/ClientList.cxx
View file @
377a2b9e
...
...
@@ -18,6 +18,7 @@
*/
#include "config.h"
#include "ClientList.hxx"
#include "ClientInternal.hxx"
#include <assert.h>
...
...
src/ClientList.hxx
0 → 100644
View file @
377a2b9e
/*
* Copyright (C) 2003-2013 The Music Player Daemon Project
* http://www.musicpd.org
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program 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 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 Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef MPD_CLIENT_LIST_HXX
#define MPD_CLIENT_LIST_HXX
#include <glib.h>
class
Client
;
bool
client_list_is_empty
(
void
);
bool
client_list_is_full
(
void
);
Client
*
client_list_get_first
(
void
);
void
client_list_add
(
Client
*
client
);
void
client_list_foreach
(
GFunc
func
,
gpointer
user_data
);
void
client_list_remove
(
Client
*
client
);
#endif
src/ClientNew.cxx
View file @
377a2b9e
...
...
@@ -19,6 +19,7 @@
#include "config.h"
#include "ClientInternal.hxx"
#include "ClientList.hxx"
#include "Partition.hxx"
#include "fd_util.h"
extern
"C"
{
...
...
src/MessageCommands.cxx
View file @
377a2b9e
...
...
@@ -21,6 +21,7 @@
#include "MessageCommands.hxx"
#include "ClientSubscribe.hxx"
#include "ClientInternal.hxx"
#include "ClientList.hxx"
#include "protocol/Result.hxx"
#include "protocol/ArgParser.hxx"
...
...
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