Print this page
12310 Add demangle(1) command
*** 9,19 ****
* http://www.illumos.org/license/CDDL.
*/
/*
* Copyright 2017 Jason King
! * Copyright 2018, Joyent, Inc.
*/
#ifndef _DEMANGLE_SYS_H
#define _DEMANGLE_SYS_H
--- 9,19 ----
* http://www.illumos.org/license/CDDL.
*/
/*
* Copyright 2017 Jason King
! * Copyright 2019 Joyent, Inc.
*/
#ifndef _DEMANGLE_SYS_H
#define _DEMANGLE_SYS_H
*** 32,41 ****
--- 32,42 ----
typedef struct sysdem_alloc_s {
void *(*alloc)(size_t);
void (*free)(void *, size_t);
} sysdem_ops_t;
+ boolean_t sysdem_parse_lang(const char *, sysdem_lang_t *);
char *sysdemangle(const char *, sysdem_lang_t, sysdem_ops_t *);
#ifdef __cplusplus
}
#endif