* $Id: RTPSUtils.c,v 0.0.0.1 2003/09/13
*
* DEBUG: section 50 Utils
- * AUTHOR: Petr Smolik petr.smolik@wo.cz
*
- * ORTE - OCERA Real-Time Ethernet http://www.ocera.org/
+ * -------------------------------------------------------------------
+ * ORTE
+ * Open Real-Time Ethernet
+ *
+ * Copyright (C) 2001-2006
+ * Department of Control Engineering FEE CTU Prague, Czech Republic
+ * http://dce.felk.cvut.cz
+ * http://www.ocera.org
+ *
+ * Author: Petr Smolik petr.smolik@wo.cz
+ * Advisor: Pavel Pisa
+ * Project Responsible: Zdenek Hanzalek
* --------------------------------------------------------------------
*
* This program is free software; you can redistribute it and/or modify
*
*/
-#include "orte.h"
+#include "orte_all.h"
/**********************************************************************************/
int gavl_cmp_ntp_time(const NtpTime *a,const NtpTime *b) {
/**********************************************************************************/
int
gavl_cmp_str(const char *const *a,const char *const *b) {
- return strcmp(*a,*b);
-}
-/**********************************************************************************/
-int
-getMaxMessageLength(ORTEDomain *d) {
- return d->domainProp.wireProp.metaBytesPerPacket-d->mbSend.cdrStream.length-
- RTPS_HEADER_LENGTH-20;
+ return strcmp((const char *)*a, (const char*)*b);
}