~ubuntu-branches/ubuntu/utopic/xneur/utopic

« back to all changes in this revision

Viewing changes to lib/misc/utils.h

  • Committer: Bazaar Package Importer
  • Author(s): Alexander GQ Gerasiov
  • Date: 2009-08-21 15:46:47 UTC
  • mfrom: (1.1.5 upstream) (2.2.2 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090821154647-tkntx3xle87fnqoi
Tags: 0.9.5.1-2
* debian/* switching to CDBS.
* Added 05_nonewline_fix.patch: fix building with gcc4.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
 *  This program is free software; you can redistribute it and/or modify
3
 
 *  it under the terms of the GNU General Public License as published by
4
 
 *  the Free Software Foundation; either version 2 of the License, or
5
 
 *  (at your option) any later version.
6
 
 *
7
 
 *  This program is distributed in the hope that it will be useful,
8
 
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
9
 
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
10
 
 *  GNU General Public License for more details.
11
 
 *
12
 
 *  You should have received a copy of the GNU General Public License
13
 
 *  along with this program; if not, write to the Free Software
14
 
 *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
15
 
 *
16
 
 *  Copyright (C) 2006-2008 XNeur Team
17
 
 *
18
 
 */
19
 
 
20
 
#ifndef _UTILS_H_
21
 
#define _UTILS_H_
22
 
 
23
 
typedef void (*sg_handler)(int);
24
 
 
25
 
void xntrap(int sig, sg_handler handler);
26
 
char *xnreplace(char *s, char *old, char *new);
27
 
 
28
 
#endif /* _UTILS_H_ */