libpurple/protocols/jabber/win32/utsname.h

Thu, 17 Jan 2013 04:45:01 -0500

author
Elliott Sales de Andrade <qulogic@pidgin.im>
date
Thu, 17 Jan 2013 04:45:01 -0500
changeset 33631
21775fb6957a
parent 23074
8c30e8377cda
permissions
-rw-r--r--

Abstract candidate translation for JingleTransports.

It seemed like this was supposed to happen since there's a prototype
for one of the functions that's not implemented. This simplifies all
the work in rtp.c too.

#ifndef _SYS_UTSNAME_H
#define _SYS_UTSNAME_H

#ifdef __cplusplus
extern "C" {
#endif

struct utsname
{
  char sysname[20];
  char nodename[20];
  char release[20];
  char version[20];
  char machine[20];
};

int jabber_win32_uname (struct utsname *);
#define uname(utsname) jabber_win32_uname(utsname)

#ifdef __cplusplus
}
#endif

#endif

mercurial