/usr/include/openwsman/u/buf.h is in libopenwsman-dev 2.6.5-0ubuntu3.
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 | #ifndef _U_LIBU_BUF_H_
#define _U_LIBU_BUF_H_
#include <stdlib.h>
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
struct u_buf_s;
typedef struct u_buf_s u_buf_t;
int u_buf_append(u_buf_t *buf, void *data, size_t size);
int u_buf_clear(u_buf_t *buf);
int u_buf_detach(u_buf_t *buf);
int u_buf_set(u_buf_t *buf, void *data, size_t size);
int u_buf_load(u_buf_t *buf, char *fqn);
int u_buf_free(u_buf_t *buf);
int u_buf_create(u_buf_t **pbuf);
int u_buf_reserve(u_buf_t *buf, size_t size);
void* u_buf_ptr(u_buf_t *buf);
size_t u_buf_len(u_buf_t *buf);
void u_buf_set_len(u_buf_t *buf, size_t len);
size_t u_buf_size(u_buf_t *buf);
int u_buf_construct(u_buf_t *buf, void *ptr, size_t size, size_t len);
char *u_buf_steal(u_buf_t *ubuf);
#endif
|