mdb_io.h (a576ab5b) mdb_io.h (f11c6b60)
1/*
2 * CDDL HEADER START
3 *
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
7 *
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

--- 7 unchanged lines hidden (view full) ---

16 * fields enclosed by brackets "[]" replaced with your own identifying
17 * information: Portions Copyright [yyyy] [name of copyright owner]
18 *
19 * CDDL HEADER END
20 */
21/*
22 * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
23 * Use is subject to license terms.
1/*
2 * CDDL HEADER START
3 *
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
7 *
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

--- 7 unchanged lines hidden (view full) ---

16 * fields enclosed by brackets "[]" replaced with your own identifying
17 * information: Portions Copyright [yyyy] [name of copyright owner]
18 *
19 * CDDL HEADER END
20 */
21/*
22 * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
23 * Use is subject to license terms.
24 *
25 * Copyright 2020 Joyent, Inc.
24 */
25
26#ifndef _MDB_IO_H
27#define _MDB_IO_H
28
26 */
27
28#ifndef _MDB_IO_H
29#define _MDB_IO_H
30
29#pragma ident "%Z%%M% %I% %E% SMI"
30
31#ifdef __cplusplus
32extern "C" {
33#endif
34
35#ifdef _MDB
36
37#include <sys/types.h>
38#include <setjmp.h>

--- 105 unchanged lines hidden (view full) ---

144extern ssize_t mdb_iob_read(mdb_iob_t *, void *, size_t);
145extern ssize_t mdb_iob_write(mdb_iob_t *, const void *, size_t);
146extern int mdb_iob_ctl(mdb_iob_t *, int, void *);
147extern const char *mdb_iob_name(mdb_iob_t *);
148extern size_t mdb_iob_lineno(mdb_iob_t *);
149extern size_t mdb_iob_gettabstop(mdb_iob_t *);
150extern size_t mdb_iob_getmargin(mdb_iob_t *);
151
31#ifdef __cplusplus
32extern "C" {
33#endif
34
35#ifdef _MDB
36
37#include <sys/types.h>
38#include <setjmp.h>

--- 105 unchanged lines hidden (view full) ---

144extern ssize_t mdb_iob_read(mdb_iob_t *, void *, size_t);
145extern ssize_t mdb_iob_write(mdb_iob_t *, const void *, size_t);
146extern int mdb_iob_ctl(mdb_iob_t *, int, void *);
147extern const char *mdb_iob_name(mdb_iob_t *);
148extern size_t mdb_iob_lineno(mdb_iob_t *);
149extern size_t mdb_iob_gettabstop(mdb_iob_t *);
150extern size_t mdb_iob_getmargin(mdb_iob_t *);
151
152extern void mdb_iob_set_autowrap(mdb_iob_t *);
153
152extern void mdb_iob_stack_create(mdb_iob_stack_t *);
153extern void mdb_iob_stack_destroy(mdb_iob_stack_t *);
154extern void mdb_iob_stack_push(mdb_iob_stack_t *, mdb_iob_t *, size_t);
155extern mdb_iob_t *mdb_iob_stack_pop(mdb_iob_stack_t *);
156extern size_t mdb_iob_stack_size(mdb_iob_stack_t *);
157
158extern const char *mdb_iob_format2str(const char *);
159

--- 34 unchanged lines hidden ---
154extern void mdb_iob_stack_create(mdb_iob_stack_t *);
155extern void mdb_iob_stack_destroy(mdb_iob_stack_t *);
156extern void mdb_iob_stack_push(mdb_iob_stack_t *, mdb_iob_t *, size_t);
157extern mdb_iob_t *mdb_iob_stack_pop(mdb_iob_stack_t *);
158extern size_t mdb_iob_stack_size(mdb_iob_stack_t *);
159
160extern const char *mdb_iob_format2str(const char *);
161

--- 34 unchanged lines hidden ---