1221807Sstas/*- 2221807Sstas * Copyright (c) 2009 Stanislav Sedov <stas@FreeBSD.org> 3221807Sstas * All rights reserved. 4221807Sstas * 5221807Sstas * Redistribution and use in source and binary forms, with or without 6221807Sstas * modification, are permitted provided that the following conditions 7221807Sstas * are met: 8221807Sstas * 1. Redistributions of source code must retain the above copyright 9221807Sstas * notice, this list of conditions and the following disclaimer. 10221807Sstas * 2. Redistributions in binary form must reproduce the above copyright 11221807Sstas * notice, this list of conditions and the following disclaimer in the 12221807Sstas * documentation and/or other materials provided with the distribution. 13221807Sstas * 14221807Sstas * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 15221807Sstas * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16221807Sstas * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 17221807Sstas * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 18221807Sstas * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19221807Sstas * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20221807Sstas * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21221807Sstas * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22221807Sstas * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23221807Sstas * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24221807Sstas * SUCH DAMAGE. 25221807Sstas * 26221807Sstas * $FreeBSD$ 27221807Sstas */ 28221807Sstas 29221807Sstas#ifndef _LIBPROCSTAT_INTERNAL_H_ 30221807Sstas#define _LIBPROCSTAT_INTERNAL_H_ 31221807Sstas 32221807Sstasstruct procstat { 33221807Sstas int type; 34221807Sstas kvm_t *kd; 35221807Sstas void *vmentries; 36221807Sstas void *files; 37249679Strociny void *argv; 38249679Strociny void *envv; 39249666Strociny struct procstat_core *core; 40221807Sstas}; 41221807Sstas 42221807Sstas#endif /* !_LIBPROCSTAT_INTERNAL_H_ */ 43