don't send SCM_CREDENTIALS on every sendmsg(), instead do it only on handshake
[pulseaudio.git] / src / pulsecore / protocol-cli.h
blob84101e14d56dac58f5ad2281a66d871338441d6f
1 #ifndef fooprotocolclihfoo
2 #define fooprotocolclihfoo
4 /* $Id$ */
6 /***
7 This file is part of PulseAudio.
9 PulseAudio is free software; you can redistribute it and/or modify
10 it under the terms of the GNU Lesser General Public License as published
11 by the Free Software Foundation; either version 2 of the License,
12 or (at your option) any later version.
14 PulseAudio is distributed in the hope that it will be useful, but
15 WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 General Public License for more details.
19 You should have received a copy of the GNU Lesser General Public License
20 along with PulseAudio; if not, write to the Free Software
21 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
22 USA.
23 ***/
25 #include <pulsecore/core.h>
26 #include <pulsecore/socket-server.h>
27 #include <pulsecore/module.h>
28 #include <pulsecore/modargs.h>
30 typedef struct pa_protocol_cli pa_protocol_cli;
32 pa_protocol_cli* pa_protocol_cli_new(pa_core *core, pa_socket_server *server, pa_module *m, pa_modargs *ma);
33 void pa_protocol_cli_free(pa_protocol_cli *n);
35 #endif