aboutsummaryrefslogtreecommitdiff
path: root/src/os/job_defs.h
blob: e98b639154b2b7569bc7d38ae675f4c9edcce1a9 (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 "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