2010-11-10 20:31:15 +01:00
|
|
|
/* See LICENSE file for license and copyright information */
|
2010-11-10 20:47:53 +01:00
|
|
|
|
|
|
|
#ifndef COMPLETION_H
|
|
|
|
#define COMPLETION_H
|
|
|
|
|
2011-10-23 17:01:15 +02:00
|
|
|
#include <girara/types.h>
|
2010-11-29 14:58:56 +01:00
|
|
|
|
2011-05-25 00:24:43 +02:00
|
|
|
/**
|
|
|
|
* Completion for the open command - Creates a list of accesible directories or
|
|
|
|
* files
|
|
|
|
*
|
|
|
|
* @param session The used girara session
|
|
|
|
* @param input The current input
|
|
|
|
* @return The completion object or NULL if an error occured
|
|
|
|
*/
|
2011-10-08 23:23:56 +02:00
|
|
|
girara_completion_t* cc_open(girara_session_t* session, const char* input);
|
2011-05-25 00:24:43 +02:00
|
|
|
|
2012-03-20 00:54:12 +01:00
|
|
|
/**
|
|
|
|
* Completion for the write command - Creates a list of accesible directories or
|
|
|
|
* files
|
|
|
|
*
|
|
|
|
* @param session The used girara session
|
|
|
|
* @param input The current input
|
|
|
|
* @return The completion object or NULL if an error occured
|
|
|
|
*/
|
|
|
|
girara_completion_t* cc_write(girara_session_t* session, const char* input);
|
|
|
|
|
2011-09-29 17:05:20 +02:00
|
|
|
/**
|
|
|
|
* Completion for the bmarks command - Creates a list of bookmarks
|
|
|
|
*
|
|
|
|
* @param session The used girara session
|
|
|
|
* @param input The current input
|
|
|
|
* @return The completion object or NULL if an error occured
|
|
|
|
*/
|
2011-10-08 23:23:56 +02:00
|
|
|
girara_completion_t* cc_bookmarks(girara_session_t* session, const char* input);
|
2011-09-29 17:05:20 +02:00
|
|
|
|
2012-01-13 18:54:09 +01:00
|
|
|
/**
|
|
|
|
* Completion for the export command - Creates a list of attachments
|
|
|
|
*
|
|
|
|
* @param session the girara session
|
|
|
|
* @param input the current input
|
|
|
|
* @return completion object, NULL on error
|
|
|
|
*/
|
|
|
|
girara_completion_t* cc_export(girara_session_t* session, const char* input);
|
|
|
|
|
2011-09-29 17:05:20 +02:00
|
|
|
|
2010-11-10 20:47:53 +01:00
|
|
|
#endif // COMPLETION_H
|