~ubuntu-branches/ubuntu/wily/trafficserver/wily

« back to all changes in this revision

Viewing changes to mgmt/utils/MgmtUtils.h

  • Committer: Package Import Robot
  • Author(s): Adam Conrad
  • Date: 2012-12-17 22:28:16 UTC
  • mfrom: (5.1.8 raring-proposed)
  • Revision ID: package-import@ubuntu.com-20121217222816-7xwjsx5k76zkb63d
Tags: 3.2.0-1ubuntu1
* Revert FreeBSD strerror_r() fixes that give errors with glibc 2.16.
* Apply patch from Konstantinos Margaritis to define barriers on ARM.

Show diffs side-by-side

added added

removed removed

Lines of Context:
45
45
int mgmt_readline(int fd, char *buf, int maxlen);
46
46
int mgmt_writeline(int fd, const char *data, int nbytes);
47
47
 
48
 
#if !defined(_WIN32)
49
48
int mgmt_read_pipe(int fd, char *buf, int bytes_to_read);
50
49
int mgmt_write_pipe(int fd, char *buf, int bytes_to_write);
51
 
#else
52
 
int mgmt_read_pipe(HANDLE hpipe, char *buf, int maxlen);
53
 
int mgmt_write_pipe(HANDLE hpipe, char *data, int nbytes);
54
 
#endif
55
50
 
56
51
void mgmt_use_syslog();
57
52
void mgmt_cleanup();
58
53
 
59
54
struct in_addr *mgmt_sortipaddrs(int num, struct in_addr **list);
60
 
char *mgmt_localhost_ip();
61
 
bool mgmt_getAddrForIntr(char *intrName, struct in_addr *addr, int *mtu = 0);
 
55
bool mgmt_getAddrForIntr(char *intrName, sockaddr* addr, int *mtu = 0);
62
56
 
63
57
/* the following functions are all DEPRECATED.  The Diags
64
58
   interface should be used exclusively in the future */