~ampelbein/ubuntu/oneiric/heartbeat/lp-770743

« back to all changes in this revision

Viewing changes to include/clplumbing/setproctitle.h

  • Committer: Bazaar Package Importer
  • Author(s): Ante Karamatic
  • Date: 2010-02-17 21:59:18 UTC
  • mfrom: (1.1.11 upstream)
  • Revision ID: james.westby@ubuntu.com-20100217215918-06paxph5do4saw8v
Tags: 3.0.2-0ubuntu1
* New upstream release
* Drop hard dep on pacemaker for heartbet; moved to Recommends
* debian/heartbeat.install:
  - follow upstream changes
* debian/control:
  - added docbook-xsl and xsltproc to build depends

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
 * setproctitle.h
3
 
 *
4
 
 * The code in this file, setproctitle.h is heavily based on code from
5
 
 * proftpd, please see the licening information below.
6
 
 *
7
 
 * This file added to the heartbeat tree by Horms <horms@vergenet.net>
8
 
 *
9
 
 * Code to portably change the title of a programme as displayed
10
 
 * by ps(1).
11
 
 *
12
 
 * heartbeat: Linux-HA heartbeat code
13
 
 *
14
 
 * Copyright (C) 1999,2000,2001 Alan Robertson <alanr@unix.sh>
15
 
 *
16
 
 * This program is free software; you can redistribute it and/or
17
 
 * modify it under the terms of the GNU General Public License
18
 
 * as published by the Free Software Foundation; either version 2
19
 
 * of the License, or (at your option) any later version.
20
 
 * 
21
 
 * This program is distributed in the hope that it will be useful,
22
 
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
23
 
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
24
 
 * GNU General Public License for more details.
25
 
 * 
26
 
 * You should have received a copy of the GNU General Public License
27
 
 * along with this program; if not, write to the Free Software
28
 
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
29
 
 */
30
 
 
31
 
/*
32
 
 * ProFTPD - FTP server daemon
33
 
 * Copyright (c) 1997, 1998 Public Flood Software
34
 
 * Copyright (C) 1999, 2000 MacGyver aka Habeeb J. Dihu <macgyver@tos.net>
35
 
 *  
36
 
 * This program is free software; you can redistribute it and/or modify
37
 
 * it under the terms of the GNU General Public License as published by
38
 
 * the Free Software Foundation; either version 2 of the License, or
39
 
 * (at your option) any later version.
40
 
 *
41
 
 * This program is distributed in the hope that it will be useful,
42
 
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
43
 
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
44
 
 * GNU General Public License for more details.
45
 
 *
46
 
 * You should have received a copy of the GNU General Public License
47
 
 * along with this program; if not, write to the Free Software
48
 
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307, USA.
49
 
 *
50
 
 * As a special exemption, Public Flood Software/MacGyver aka Habeeb J. Dihu
51
 
 * and other respective copyright holders give permission to link this program
52
 
 * with OpenSSL, and distribute the resulting executable, without including
53
 
 * the source code for OpenSSL in the source distribution.
54
 
 */
55
 
 
56
 
#ifndef _HA_SETPROCTITLE_H
57
 
#define _HA_SETPROCTITLE_H
58
 
 
59
 
#include <glib.h>
60
 
int init_set_proc_title(int argc, char *argv[], char *envp[]);
61
 
 
62
 
void set_proc_title(const char *fmt,...) G_GNUC_PRINTF(1,2);
63
 
 
64
 
#endif /* _HA_SETPROCTITLE_H */