diff options
Diffstat (limited to 'usr/src/cmd/mdb/common/modules/genunix/sobj.h')
-rw-r--r-- | usr/src/cmd/mdb/common/modules/genunix/sobj.h | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/usr/src/cmd/mdb/common/modules/genunix/sobj.h b/usr/src/cmd/mdb/common/modules/genunix/sobj.h index edd7dc06fb..e1e4b20e90 100644 --- a/usr/src/cmd/mdb/common/modules/genunix/sobj.h +++ b/usr/src/cmd/mdb/common/modules/genunix/sobj.h @@ -2,9 +2,8 @@ * CDDL HEADER START * * The contents of this file are subject to the terms of the - * Common Development and Distribution License, Version 1.0 only - * (the "License"). You may not use this file except in compliance - * with the License. + * Common Development and Distribution License (the "License"). + * You may not use this file except in compliance with the License. * * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE * or http://www.opensolaris.org/os/licensing. @@ -20,15 +19,13 @@ * CDDL HEADER END */ /* - * Copyright 2004 Sun Microsystems, Inc. All rights reserved. + * Copyright 2009 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ #ifndef _SOBJ_H #define _SOBJ_H -#pragma ident "%Z%%M% %I% %E% SMI" - #ifdef __cplusplus extern "C" { #endif @@ -50,6 +47,11 @@ int sobj2ts(uintptr_t, uint_t, int, const mdb_arg_t *); void mutex_help(void); +void sobj_ops_to_text(uintptr_t, char *, size_t); +void sobj_type_to_text(int, char *, size_t); +int sobj_text_to_ops(const char *, uintptr_t *); +void sobj_type_walk(void (*)(int, const char *, const char *, void *), void *); + #ifdef __cplusplus } #endif |