/usr/include/c_urg/serial_utils.h is in liburg0-dev 0.8.18-2.
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 | #ifndef QRK_SERIAL_UTILS_H
#define QRK_SERIAL_UTILS_H
/*!
\file
\brief �V���A������M�̕⏕
\author Satofumi KAMIMURA
$Id: serial_utils.h 783 2009-05-05 08:56:26Z satofumi $
\todo ���͂�������ɂ́Aconst ��t������
*/
#include "serial_t.h"
/*!
\brief ���s�R�[�h����Ԃ�
\retval true LF, CR �̂Ƃ�
\retval false ��L�ȊO�̂Ƃ�
*/
extern int serial_isLF(const char ch);
/*!
\brief ��M�f�[�^��ǂݔ��
ConnectionInterface::clear() �Ƃ́A�^�C���A�E�g���Ԃ��w�肵�ēǂݔ����_���قȂ�
\param[in,out] serial �V���A������̍\����
\param[in] total_timeout �^�C���A�E�g���Ԃ̏�� [msec]
\param[in] each_timeout ��M�f�[�^�Ԃɂ�����^�C���A�E�g���Ԃ̏�� [msec]
*/
extern void serial_skip(serial_t *serial, int total_timeout,
int each_timeout);
/*!
\brief ���s�܂ł̓ǂ݂���
������I�[�� '\\0' ��t�����ĕԂ�
\param[in,out] serial �V���A������̍\����
\param[in] data ��M�f�[�^�i�[�o�b�t�@
\param[in] data_size_max ��M�o�b�t�@�̍ő�T�C�Y
\param[in] timeout �^�C���A�E�g [msec]
\return ��M������
*/
extern int serial_getLine(serial_t *serial,
char *data, int data_size_max, int timeout);
#endif /* !QRK_SERIAL_UTILS_H */
|