~ubuntu-branches/ubuntu/lucid/graphviz/lucid-security

« back to all changes in this revision

Viewing changes to tools/sfio/sfnotify.c

  • Committer: Bazaar Package Importer
  • Author(s): Stephen M Moraco
  • Date: 2002-02-05 18:52:12 UTC
  • Revision ID: james.westby@ubuntu.com-20020205185212-8i04c70te00rc40y
Tags: upstream-1.7.16
ImportĀ upstreamĀ versionĀ 1.7.16

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#include        "sfhdr.h"
 
2
 
 
3
 
 
4
/*      Set the function to be called when a stream is opened or closed
 
5
**
 
6
**      Written by Kiem-Phong Vo.
 
7
*/
 
8
#if __STD_C
 
9
int sfnotify(void (*notify)(Sfio_t*, int, int))
 
10
#else
 
11
int sfnotify(notify)
 
12
void    (*notify)();
 
13
#endif
 
14
{
 
15
        _Sfnotify = notify;
 
16
        return 0;
 
17
}