// IWYU pragma: private, include "nvim/bufwrite.h"
#define DEFINE_FUNC_ATTRIBUTES
#include "nvim/func_attr.h"
#undef DEFINE_FUNC_ATTRIBUTES
#ifndef DLLEXPORT
#  ifdef MSWIN
#    define DLLEXPORT __declspec(dllexport)
#  else
#    define DLLEXPORT
#  endif
#endif
DLLEXPORT char *buf_get_backup_name(char *fname, char **dirp, bool no_prepend_dot, char *backup_ext);
DLLEXPORT int buf_write(buf_T *buf, char *fname, char *sfname, linenr_T start, linenr_T end, exarg_T *eap, bool append, bool forceit, bool reset_changed, bool filtering);
#include "nvim/func_attr.h"
