tmux  3.2a
About: tmux is a terminal multiplexer that lets you switch easily between several programs in one terminal.
  Fossies Dox: tmux-3.2a.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

cmd-source-file.c File Reference
#include <sys/types.h>
#include <errno.h>
#include <glob.h>
#include <stdlib.h>
#include <string.h>
#include "tmux.h"
Include dependency graph for cmd-source-file.c:

Go to the source code of this file.

Data Structures

struct  cmd_source_file_data


static enum cmd_retval cmd_source_file_exec (struct cmd *, struct cmdq_item *)
static enum cmd_retval cmd_source_file_complete_cb (struct cmdq_item *item, void *data)
static void cmd_source_file_complete (struct client *c, struct cmd_source_file_data *cdata)
static void cmd_source_file_done (struct client *c, const char *path, int error, int closed, struct evbuffer *buffer, void *data)
static void cmd_source_file_add (struct cmd_source_file_data *cdata, const char *path)


const struct cmd_entry cmd_source_file_entry

Function Documentation

◆ cmd_source_file_add()

static void cmd_source_file_add ( struct cmd_source_file_data cdata,
const char *  path 

◆ cmd_source_file_complete()

◆ cmd_source_file_complete_cb()

static enum cmd_retval cmd_source_file_complete_cb ( struct cmdq_item item,
void *  data 

Definition at line 1 of file cmd-source-file.c.

Referenced by cmd_source_file_complete().

◆ cmd_source_file_done()

static void cmd_source_file_done ( struct client c,
const char *  path,
int  error,
int  closed,
struct evbuffer *  buffer,
void *  data 

◆ cmd_source_file_exec()

static enum cmd_retval cmd_source_file_exec ( struct cmd self,
struct cmdq_item item 

Definition at line 116 of file cmd-source-file.c.

Variable Documentation

◆ cmd_source_file_entry

const struct cmd_entry cmd_source_file_entry
Initial value:
= {
.name = "source-file",
.alias = "source",
.args = { "Fnqv", 1, -1 },
.usage = "[-Fnqv] path ...",
.flags = 0,
static enum cmd_retval cmd_source_file_exec(struct cmd *, struct cmdq_item *)

Definition at line 1 of file cmd-source-file.c.