~ubuntu-branches/ubuntu/raring/joyent-mdata-client/raring-updates

« back to all changes in this revision

Viewing changes to plat/unix_common.h

  • Committer: Package Import Robot
  • Author(s): Ben Howard
  • Date: 2013-11-07 08:14:52 UTC
  • Revision ID: package-import@ubuntu.com-20131107081452-z0kajfx8fpi5prgg
Tags: upstream-0.0.1
ImportĀ upstreamĀ versionĀ 0.0.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Copyright (c) 2013, Joyent, Inc.
 
3
 * See LICENSE file for copyright and license details.
 
4
 */
 
5
 
 
6
#ifndef _UNIX_COMMON_H
 
7
#define _UNIX_COMMON_H
 
8
 
 
9
#ifdef __cplusplus
 
10
extern "C" {
 
11
#endif
 
12
 
 
13
#include "plat.h"
 
14
#include "dynstr.h"
 
15
 
 
16
/*int unix_raw_mode(int fd, char **errmsg);*/
 
17
int unix_open_serial(char *devpath, int *outfd, char **errmsg, int *permfail);
 
18
int unix_send_reset(mdata_plat_t *mpl);
 
19
int unix_is_interactive(void);
 
20
 
 
21
 
 
22
#ifdef __cplusplus
 
23
}
 
24
#endif
 
25
 
 
26
#endif /* _UNIX_COMMON_H */