ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libptytty/src/ptytty.C
(Generate patch)

Comparing libptytty/src/ptytty.C (file contents):
Revision 1.15 by root, Mon Jan 23 11:22:08 2006 UTC vs.
Revision 1.16 by root, Mon Jan 23 11:22:34 2006 UTC

634 634
635#define DEFINE_STATIC(retval, name, args) \ 635#define DEFINE_STATIC(retval, name, args) \
636extern "C" retval ptytty_ ## name args \ 636extern "C" retval ptytty_ ## name args \
637{ return ptytty::name args; } 637{ return ptytty::name args; }
638 638
639DEFINE_STATIC(void,drop_privileges,())
640DEFINE_STATIC(void,use_helper,())
641
639DEFINE_STATIC(void,init,()) 642DEFINE_STATIC(void,init,())
640DEFINE_STATIC(void *,create,()) 643DEFINE_STATIC(void *,create,())
641 644
642void ptytty_delete (void *ptytty) 645void ptytty_delete (void *ptytty)
643{ 646{
644 delete (struct ptytty *)ptytty; 647 delete (struct ptytty *)ptytty;
645} 648}
646 649
647DEFINE_STATIC(void,drop_privileges,()) 650// send_fd, recv_fd not exposed
648DEFINE_STATIC(void,use_helper,())
649 651
650#endif 652#endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines