/usr/include/girara/completion.h is in libgirara-dev 0.2.5-1.
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 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 | /* See LICENSE file for license and copyright information */
#ifndef GIRARA_COMPLETION_H
#define GIRARA_COMPLETION_H
#include "types.h"
/**
* Creates an girara completion object
*
* @return Completion object
* @return NULL An error occured
*/
girara_completion_t* girara_completion_init();
/**
* Creates an girara completion group
*
* @return Completion object
* @return NULL An error occured
*/
girara_completion_group_t* girara_completion_group_create(
girara_session_t* session, const char* name);
/**
* Frees a completion group
*
* @param group The group
*/
void girara_completion_group_free(girara_completion_group_t* group);
/**
* Adds an group to a completion object
*
* @param completion The completion object
* @param group The completion group
*/
void girara_completion_add_group(girara_completion_t* completion,
girara_completion_group_t* group);
/**
* Frees an completion and all of its groups and elements
*
* @param completion The completion
*/
void girara_completion_free(girara_completion_t* completion);
/**
* Adds an element to a completion group
*
* @param group The completion group
* @param value Value of the entry
* @param description Description of the entry
*/
void girara_completion_group_add_element(girara_completion_group_t* group,
const char* value, const char* description);
#endif
|