File: misc.h

package info (click to toggle)
mol 0.9.61-6
  • links: PTS
  • area: contrib
  • in suites: woody
  • size: 6,140 kB
  • ctags: 8,491
  • sloc: ansic: 50,560; asm: 2,826; sh: 458; makefile: 373; perl: 165; lex: 135; yacc: 131
file content (39 lines) | stat: -rw-r--r-- 902 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/**************************************************************
*   
*   Creation Date: <97/06/16 18:02:12 samuel>
*   Time-stamp: <2001/04/18 23:25:30 samuel>
*   
*	<misc.h>
*	
*	
*   
*   Copyright (C) 1997, 1999, 2000, 2001 Samuel Rydh
*
*   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;
*
**************************************************************/

#ifndef _H_MOD
#define _H_MOD

#include "compat.h"

extern int 	g_num_sessions;			/* number of active sessions */

extern void	destroy_session( int session_index );

/* init.c */
extern void	inc_mod_count( void );
extern void	dec_mod_count( void );

/* hook.c */
extern int	relocate_code( void );
extern void	relocation_cleanup( void );
extern int	write_hooks( void );
extern void	remove_hooks( void );


#endif