/usr/include/libxnee/xnee_buffer.h is in libxnee-dev 3.11-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 | /*****
* Xnee's Not an Event Emulator
*
* Xnee enables recording and replaying of X protocol data
*
* Copyright (C) 1999, 2000, 2001, 2002, 2003 Henrik Sandklef
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 3
* of the License, or any later version.
*
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Boston,
* MA 02110-1301, USA.
****/
#include "libxnee/xnee.h"
#include "libxnee/print.h"
#include "libxnee/xnee_record.h"
#include "libxnee/xnee_replay.h"
#include "libxnee/xnee_sem.h"
#include "libxnee/xnee_resolution.h"
#ifndef XNEE_XNEE_BUFFER_H
#define XNEE_XNEE_BUFFER_H
int
xnee_replay_buffer_max_diff (xnee_data* xd, int type);
int
xnee_replay_buffer_min_diff (xnee_data* xd, int type);
int
xnee_replay_buffer_tot_diff (xnee_data* xd, int type);
void
xnee_replay_buffer_handler (xnee_data* xd,
int data_type,
int data_nr,
Bool rec_or_rep);
int
xnee_hard_update_buffer_cache(xnee_data *xd);
int
xnee_check_buffer_limits (xnee_data *xd);
/**
* Prints the synchronisation status of the X11 data given by data_type and nr
*
* @param xd xnee's main structure
* @param data_type X11 data type (e.g event)
* @param nr nr of the data type (e.g 23)
* @return int 0 means in sync.
*/
int
xnee_replay_buffer_status (xnee_data* xd, int data_type, int nr);
int
xnee_update_buffer_cache(xnee_data *xd);
#endif /* XNEE_XNEE_BUFFER_H */
|