aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/os/job_defs.h
blob: 8e4dc0cd8875cdc7ee95739fbe996fe30abdcdb9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef NVIM_OS_JOB_DEFS_H
#define NVIM_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  // NVIM_OS_JOB_DEFS_H