mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-01-17 10:14:38 +01:00
added receiver in here
git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@328 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
42
slsDetectorSoftware/slsReceiver/slsReceiver_funcs.h
Normal file
42
slsDetectorSoftware/slsReceiver/slsReceiver_funcs.h
Normal file
@@ -0,0 +1,42 @@
|
||||
#ifndef RECEIVER_H
|
||||
#define RECEIVER_H
|
||||
#include <stdio.h>
|
||||
#include "communication_funcs.h"
|
||||
|
||||
|
||||
|
||||
|
||||
#define GOODBYE -200
|
||||
|
||||
int sockfd;
|
||||
|
||||
int function_table();
|
||||
int decode_function(int);
|
||||
int M_nofunc(int);
|
||||
int exit_server(int);
|
||||
int exec_command(int);
|
||||
|
||||
|
||||
int lock_receiver(int);
|
||||
int set_port(int);
|
||||
int get_last_client_ip(int);
|
||||
int update_client(int);
|
||||
int send_update(int);
|
||||
//int set_master(int);
|
||||
//int set_synchronization(int);
|
||||
|
||||
// General purpose functions
|
||||
|
||||
//int init_receiver();
|
||||
int set_file_name(int);
|
||||
int set_file_dir(int);
|
||||
int set_file_index(int);
|
||||
int start_receiver(int);
|
||||
int stop_receiver(int);
|
||||
int get_receiver_status(int);
|
||||
int get_frames_caught(int);
|
||||
int get_frame_index(int);
|
||||
|
||||
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user