/usr/include/libisns/source.h is in libisns-dev 0.97-2build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | /*
* iSNS source attribute handling
*
* Copyright (C) 2007 Olaf Kirch <olaf.kirch@oracle.com>
*/
#ifndef ISNS_SOURCE_H
#define ISNS_SOURCE_H
#include <libisns/attrs.h>
struct isns_source {
unsigned int is_users;
isns_attr_t * is_attr;
unsigned int is_untrusted : 1;
isns_object_t * is_node;
unsigned int is_node_type;
isns_object_t * is_entity;
};
extern int isns_source_encode(buf_t *, const isns_source_t *);
extern int isns_source_decode(buf_t *, isns_source_t **);
extern int isns_source_set_node(isns_source_t *, isns_db_t *);
extern void isns_source_set_entity(isns_source_t *, isns_object_t *);
extern isns_source_t * isns_source_dummy(void);
extern char * isns_build_source_pattern(const char *);
extern int isns_source_pattern_match(const char *, const char *);
#endif /* ISNS_SOURCE_H */
|