unrealircd

- supernets unrealircd source & configuration
git clone git://git.acid.vegas/unrealircd.git
Log | Files | Refs | Archive | README | LICENSE

win.h (1534B)

      1 /************************************************************************
      2  *   IRC - Internet Relay Chat, win32/win32.h
      3  *   Copyright (C) 2004 Dominick Meglio (codemastr)
      4  *   
      5  *   This program is free software; you can redistribute it and/or modify
      6  *   it under the terms of the GNU General Public License as published by
      7  *   the Free Software Foundation; either version 1, or (at your option)
      8  *   any later version.
      9  *
     10  *   This program is distributed in the hope that it will be useful,
     11  *   but WITHOUT ANY WARRANTY; without even the implied warranty of
     12  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     13  *   GNU General Public License for more details.
     14  *
     15  *   You should have received a copy of the GNU General Public License
     16  *   along with this program; if not, write to the Free Software
     17  *   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
     18  */
     19 
     20 #include <windows.h>
     21 
     22 typedef struct {
     23 	int *size;
     24 	unsigned char **buffer;
     25 } StreamIO;
     26 
     27 typedef struct IRCColor {
     28 	struct IRCColor *next;
     29 	unsigned char *color;
     30 } IRCColor;
     31 
     32 extern UINT WM_FINDMSGSTRING;
     33 extern unsigned char *RTFBuf;
     34 extern HINSTANCE hInst;
     35 
     36 extern FARPROC lpfnOldWndProc;
     37 extern LRESULT RESubClassFunc(HWND hWnd, UINT Message, WPARAM wParam, LPARAM lParam);
     38 extern DWORD CALLBACK SplitIt(DWORD_PTR dwCookie, LPBYTE pbBuff, LONG cb, LONG *pcb);
     39 extern DWORD CALLBACK BufferIt(DWORD_PTR dwCookie, LPBYTE pbBuff, LONG cb, LONG *pcb);
     40 extern DWORD CALLBACK RTFToIRC(int fd, unsigned char *pbBuff, long cb);
     41 
     42 #define OSVER_SIZE 256
     43