view src/if_sniff.h @ 6989:c0a23e04c929 v7.4.812

patch 7.4.812 Problem: Gcc sanitizer complains about using a NULL pointer to memmove(). Solution: Only call memmove when there is something to move. (Vittorio Zecca)
author Bram Moolenaar <bram@vim.org>
date Sat, 08 Aug 2015 18:23:46 +0200
parents 073ff46fe397
children 1a5d34492798
line wrap: on
line source

/*
 * if_sniff.h Interface between Vim and SNiFF+
 */

#ifndef __if_sniff_h__
#define __if_sniff_h__

extern int  want_sniff_request;
extern int  sniff_request_waiting;
extern int  sniff_connected;
extern int  fd_from_sniff;
extern void sniff_disconnect __ARGS((int immediately));
extern void ProcessSniffRequests __ARGS((void));
extern void ex_sniff __ARGS((exarg_T *eap));

#endif