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