~benklop/+junk/lcdproc

« back to all changes in this revision

Viewing changes to server/clients.h

  • Committer: Bazaar Package Importer
  • Author(s): Jeremy Yoder (Launchpad)
  • Date: 2009-10-11 18:21:07 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20091011182107-twnkyhv1f63lzq3o
Tags: 0.5.3-0ubuntu1
* New upstream version 0.5.3 (LP: #432669)
* Merge source patches from 0.5.2-3 
  - LCDd.conf: Change driver path
  - clients/lcdproc/machine_Linux.c: Change ifdef
* Add clients/examples/lcdident.pl to debian files 
* Updated debian/rules:
  - Cleaned up whitespace
  - Changed config.guess/config.sub lines 
* Added a delay to server/drivers/imonlcd.c for slower models
* Added dependency on autotools-dev to fix launchpad build issue 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
 * client.h
3
 
 * This file is part of LCDd, the lcdproc server.
 
1
/** \file server/clients.h
 
2
 * Manage the list of clients that are connected.
 
3
 */
 
4
 
 
5
/* This file is part of LCDd, the lcdproc server.
4
6
 *
5
 
 * This file is released under the GNU General Public License. Refer to the
6
 
 * COPYING file distributed with this package.
 
7
 * This file is released under the GNU General Public License.
 
8
 * Refer to the COPYING file distributed with this package.
7
9
 *
8
10
 * Copyright (c) 1999, William Ferrell, Scott Scriven
9
 
 *
10
11
 */
11
12
 
12
13
#ifndef CLIENTS_H
21
22
int clients_init(void);
22
23
int clients_shutdown(void);
23
24
 
24
 
/* Add/remove clients (return -1 for error) */
25
 
int clients_add_client(Client *c);
26
 
int clients_remove_client(Client *c);
 
25
/* Add/remove clients (return NULL for error) */
 
26
Client *clients_add_client(Client *c);
 
27
Client *clients_remove_client(Client *c, Direction whereto);
27
28
 
28
29
/* List functions */
29
30
Client *clients_getfirst(void);