aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/os/job_defs.h
blob: 13bc2f3ab0dfb057df014372ccf6942b1e06f094 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef NEOVIM_OS_JOB_DEFS_H
#define NEOVIM_OS_JOB_DEFS_H

#include "nvim/os/rstream_defs.h"

typedef struct job Job;

/// Function called when the job reads data
///
/// @param id The job id
/// @param data Some data associated with the job by the caller
typedef void (*job_exit_cb)(Job *job, void *data);

#endif  // NEOVIM_OS_JOB_DEFS_H