VirtualBox

Ignore:
Timestamp:
Jun 4, 2010 8:38:56 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
62400
Message:

NAT: BSD sbuf.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Network/slirp/bsd/sys/sbuf.h

    r30018 r30045  
    3232#define _SYS_SBUF_H_
    3333
     34#ifndef VBOX
    3435#include <sys/_types.h>
     36#else
     37# include <iprt/types.h>
     38#endif
    3539
    3640/*
     
    6569int              sbuf_cat(struct sbuf *, const char *);
    6670int              sbuf_cpy(struct sbuf *, const char *);
     71#ifndef VBOX
    6772int              sbuf_printf(struct sbuf *, const char *, ...) __printflike(2, 3);
    6873int              sbuf_vprintf(struct sbuf *, const char *, __va_list) __printflike(2, 0);
     74#else
     75int              sbuf_printf(struct sbuf *, const char *, ...);
     76int              sbuf_vprintf(struct sbuf *, const char *, va_list);
     77#endif
    6978int              sbuf_putc(struct sbuf *, int);
    7079int              sbuf_trim(struct sbuf *);
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette