1 /* 2 * /src/NTP/ntp-4/libparse/trim_info.c,v 4.2 1998/12/20 23:45:31 kardel RELEASE_19990228_A 3 * 4 * $Created: Sun Aug 2 20:20:34 1998 $ 5 * 6 * Copyright (C) 1998 by Frank Kardel 7 */ 8 #include "ntp_types.h" 9 #include "trimble.h" 10 11 cmd_info_t * 12 trimble_convert( 13 unsigned int cmd, 14 cmd_info_t *tbl 15 ) 16 { 17 int i; 18 19 for (i = 0; tbl[i].cmd != 0xFF; i++) 20 { 21 if (tbl[i].cmd == cmd) 22 return &tbl[i]; 23 } 24 return 0; 25 } 26 27 /* 28 * trim_info.c,v 29 * Revision 4.2 1998/12/20 23:45:31 kardel 30 * fix types and warnings 31 * 32 * Revision 4.1 1998/08/09 22:27:48 kardel 33 * Trimble TSIP support 34 * 35 */ 36