OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2003-2006 Niels Provos <provos@citi.umich.edu> | 2 * Copyright (c) 2003-2006 Niels Provos <provos@citi.umich.edu> |
3 * All rights reserved. | 3 * All rights reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 24 matching lines...) Expand all Loading... |
35 #endif | 35 #endif |
36 | 36 |
37 #include <sys/types.h> | 37 #include <sys/types.h> |
38 #include <sys/stat.h> | 38 #include <sys/stat.h> |
39 #ifdef HAVE_SYS_TIME_H | 39 #ifdef HAVE_SYS_TIME_H |
40 #include <sys/time.h> | 40 #include <sys/time.h> |
41 #endif | 41 #endif |
42 #include <sys/queue.h> | 42 #include <sys/queue.h> |
43 #ifndef WIN32 | 43 #ifndef WIN32 |
44 #include <sys/socket.h> | 44 #include <sys/socket.h> |
45 #include <sys/signal.h> | 45 #include <signal.h> |
46 #include <unistd.h> | 46 #include <unistd.h> |
47 #include <netdb.h> | 47 #include <netdb.h> |
48 #endif | 48 #endif |
49 #include <fcntl.h> | 49 #include <fcntl.h> |
50 #include <stdlib.h> | 50 #include <stdlib.h> |
51 #include <stdio.h> | 51 #include <stdio.h> |
52 #include <string.h> | 52 #include <string.h> |
53 #include <errno.h> | 53 #include <errno.h> |
54 #include <assert.h> | 54 #include <assert.h> |
55 | 55 |
(...skipping 566 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
622 | 622 |
623 void | 623 void |
624 rpc_suite(void) | 624 rpc_suite(void) |
625 { | 625 { |
626 rpc_basic_test(); | 626 rpc_basic_test(); |
627 rpc_basic_message(); | 627 rpc_basic_message(); |
628 rpc_basic_client(); | 628 rpc_basic_client(); |
629 rpc_basic_queued_client(); | 629 rpc_basic_queued_client(); |
630 rpc_client_timeout(); | 630 rpc_client_timeout(); |
631 } | 631 } |
OLD | NEW |