home *** CD-ROM | disk | FTP | other *** search
/ Power Hacker 2003 / Power_Hacker_2003.iso / Exploit and vulnerability / w00w00 / sectools / dsniff / rpc.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-05-16  |  427 b   |  28 lines

  1. /*
  2.   rpc.h
  3.  
  4.   RPC utility routines.
  5.   
  6.   Copyright (c) 2000 Dug Song <dugsong@monkey.org>
  7.   
  8.   $Id: rpc.h,v 1.1 2000/05/16 17:31:15 dugsong Exp $
  9. */
  10.  
  11. #ifndef RPC_H
  12. #define RPC_H
  13.  
  14. struct xid_map {
  15.     u_long        xid;
  16.     u_long        prog;
  17.     void           *data;
  18. };
  19.  
  20. int    rpc_decode(u_char *buf, int len, struct rpc_msg *msg);
  21.  
  22. void    xid_map_enter(u_long xid, u_long prog, void *data);
  23.  
  24. struct xid_map *xid_map_find(int xid);
  25.  
  26. #endif /* RPC_H */
  27.  
  28.