mirror of
https://github.com/ChronosX88/psyced.git
synced 2024-11-15 06:51:02 +00:00
33 lines
683 B
C
33 lines
683 B
C
|
/****************************************************************************
|
||
|
** $Id: srv.h,v 1.1 2006/05/22 11:18:10 lynx Exp $
|
||
|
**
|
||
|
** Definition of something or other
|
||
|
**
|
||
|
** Created : 979899
|
||
|
**
|
||
|
** Copyright (C) 1997 by Troll Tech AS. All rights reserved.
|
||
|
**
|
||
|
****************************************************************************/
|
||
|
|
||
|
#ifndef SRV_H
|
||
|
#define SRV_H
|
||
|
|
||
|
struct srvhost {
|
||
|
unsigned int pref;
|
||
|
struct srvhost * next;
|
||
|
unsigned int port;
|
||
|
unsigned int weight;
|
||
|
unsigned int rweight;
|
||
|
char name[1];
|
||
|
};
|
||
|
|
||
|
|
||
|
extern void freesrvhost ( struct srvhost * );
|
||
|
|
||
|
extern struct srvhost * getsrv( const char * domain,
|
||
|
const char * service,
|
||
|
const char * protocol );
|
||
|
|
||
|
#endif
|
||
|
|