1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-02-04 14:12:24 +00:00
putty-source/mac.h
Ben Harris 0256bceece Lots of MacTCP networking stuff. I think all the code's written, but it
doesn't actually work yet.  Also the telnet backend is still single-session,
and I haven't even touched the ssh one.  Oh, and the "Main" segment just
overflowed 32k, so we have extra linker incantations.  I'm off to the pub
now.

[originally from svn r156]
1999-04-04 18:23:35 +00:00

43 lines
946 B
C

/*
* mac.h -- macintosh-specific declarations
*/
#ifndef _PUTTY_MAC_H
#define _PUTTY_MAC_H
#include <MacTypes.h>
#include <Events.h>
#include <MacWindows.h>
struct mac_gestalts {
long qdvers;
long apprvers;
long cntlattr;
long windattr;
};
extern struct mac_gestalts mac_gestalts;
/* from macterm.c */
extern void mac_newsession(void);
extern void mac_activateterm(WindowPtr, Boolean);
extern void mac_adjusttermcursor(WindowPtr, Point, RgnHandle);
extern void mac_adjusttermmenus(WindowPtr);
extern void mac_updateterm(WindowPtr);
extern void mac_clickterm(WindowPtr, EventRecord *);
extern void mac_growterm(WindowPtr, EventRecord *);
extern void mac_keyterm(WindowPtr, EventRecord *);
extern void mac_menuterm(WindowPtr, short, short);
/* from maccfg.c */
extern void mac_loadconfig(Config *);
/* from macnet.c */
extern void macnet_eventcheck(void);
#endif
/*
* Local Variables:
* c-file-style: "simon"
* End:
*/