/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* 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
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*
*/
#ifndef _DEVINFO_DEVLINK_H
#define _DEVINFO_DEVLINK_H
#ifdef __cplusplus
extern "C" {
#endif
#include <stdio.h>
#include <unistd.h>
#include <fcntl.h>
#include <string.h>
#include <thread.h>
#include <synch.h>
#include <libdevinfo.h>
#include <limits.h>
#include <stdlib.h>
#include <dirent.h>
#include <regex.h>
#include <errno.h>
#include <stdarg.h>
#include <door.h>
#include <signal.h>
struct db_link {
};
struct db_minor {
};
struct db_node {
};
typedef enum db_seg {
DB_NODE = 0,
} db_seg_t;
struct db_hdr {
};
typedef struct cache_link {
} cache_link_t;
typedef struct cache_minor {
typedef struct cache_node {
} cache_node_t;
struct cache {
};
struct db {
};
struct di_devlink_handle {
};
typedef struct link_desc {
const char *minor_path;
void *arg;
int retval;
} link_desc_t;
struct tnode {
void *node;
int flags;
};
struct di_devlink {
char *rel_path;
char *abs_path;
char *content;
int type;
};
typedef struct recurse {
void *data;
} recurse_t;
/*
* Debug levels currently defined.
*/
typedef enum {
#define DB_NIL 0
/*
* Various flags private to the implementation
*/
/*
* Environment variables used by DEBUG version of code.
*/
/*
* Function prototypes
*/
cache_minor_t **prev);
const int flags);
link_desc_t *linkp);
struct di_devlink *vlp);
link_desc_t *linkp);
link_desc_t *linkp);
const char *link_path);
int flags);
int flags);
static char *minor_colon(const char *path);
cache_link_t *clp);
#ifdef __cplusplus
}
#endif
#endif /* _DEVINFO_DEVLINK_H */