|
Packit |
514978 |
#ifndef HEADER_CARES_PLATFORM_H
|
|
Packit |
514978 |
#define HEADER_CARES_PLATFORM_H
|
|
Packit |
514978 |
|
|
Packit |
514978 |
|
|
Packit |
514978 |
/* Copyright 1998 by the Massachusetts Institute of Technology.
|
|
Packit |
514978 |
* Copyright (C) 2004 - 2011 by Daniel Stenberg et al
|
|
Packit |
514978 |
*
|
|
Packit |
514978 |
* Permission to use, copy, modify, and distribute this
|
|
Packit |
514978 |
* software and its documentation for any purpose and without
|
|
Packit |
514978 |
* fee is hereby granted, provided that the above copyright
|
|
Packit |
514978 |
* notice appear in all copies and that both that copyright
|
|
Packit |
514978 |
* notice and this permission notice appear in supporting
|
|
Packit |
514978 |
* documentation, and that the name of M.I.T. not be used in
|
|
Packit |
514978 |
* advertising or publicity pertaining to distribution of the
|
|
Packit |
514978 |
* software without specific, written prior permission.
|
|
Packit |
514978 |
* M.I.T. makes no representations about the suitability of
|
|
Packit |
514978 |
* this software for any purpose. It is provided "as is"
|
|
Packit |
514978 |
* without express or implied warranty.
|
|
Packit |
514978 |
*/
|
|
Packit |
514978 |
|
|
Packit |
514978 |
#include "ares_setup.h"
|
|
Packit |
514978 |
|
|
Packit |
514978 |
#if defined(WIN32) && !defined(MSDOS)
|
|
Packit |
514978 |
|
|
Packit |
514978 |
typedef enum {
|
|
Packit |
514978 |
WIN_UNKNOWN,
|
|
Packit |
514978 |
WIN_3X,
|
|
Packit |
514978 |
WIN_9X,
|
|
Packit |
514978 |
WIN_NT,
|
|
Packit |
514978 |
WIN_CE
|
|
Packit |
514978 |
} win_platform;
|
|
Packit |
514978 |
|
|
Packit |
514978 |
win_platform ares__getplatform(void);
|
|
Packit |
514978 |
|
|
Packit |
514978 |
#endif
|
|
Packit |
514978 |
|
|
Packit |
514978 |
#if defined(_WIN32_WCE)
|
|
Packit |
514978 |
|
|
Packit |
514978 |
struct servent *getservbyport(int port, const char *proto);
|
|
Packit |
514978 |
|
|
Packit |
514978 |
#endif
|
|
Packit |
514978 |
|
|
Packit |
514978 |
#endif /* HEADER_CARES_PLATFORM_H */
|