source: trunk/src/wsock32/wsastruct.h@ 5087

Last change on this file since 5087 was 3229, checked in by sandervl, 25 years ago

replaced with new wsock32

File size: 1.0 KB
Line 
1/* $Id: wsastruct.h,v 1.3 2000-03-24 19:28:09 sandervl Exp $ */
2
3/*
4 *
5 * Win32 SOCK32 for OS/2
6 *
7 * Project Odin Software License can be found in LICENSE.TXT
8 *
9 */
10#ifndef __WSASTRUCT_H__
11#define __WSASTRUCT_H__
12
13#include "wsock32.h"
14
15#define WS_DUP_LINEAR 0x0001
16#define WS_DUP_NATIVE 0x0000 /* not used anymore */
17#define WS_DUP_OFFSET 0x0002 /* internal pointers are offsets */
18#define WS_DUP_SEGPTR 0x0004 /* internal pointers are SEGPTRs */
19
20int WS_copy_se(struct ws_servent *p_to, char *p_base, int t_size, struct servent* p_se);
21int WS_copy_pe(struct ws_protoent *p_to,char *p_base,int t_size,struct protoent* p_pe);
22int WS_copy_he(struct ws_hostent *p_to,char *p_base,int t_size,struct hostent* p_he);
23int WS_dup_se(LPWSINFO pwsi, struct servent* p_se, int flag = WS_DUP_LINEAR);
24int WS_dup_pe(LPWSINFO pwsi, struct protoent* p_pe, int flag = WS_DUP_LINEAR);
25int WS_dup_he(LPWSINFO pwsi, struct hostent* p_he, int flag = WS_DUP_LINEAR);
26
27
28#endif //__WSASTRUCT_H__
Note: See TracBrowser for help on using the repository browser.