Changeset 315 for trunk/include
- Timestamp:
- Mar 11, 2011, 8:30:55 PM (14 years ago)
- Location:
- trunk/include
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/sh_calls.h
r295 r315 39 39 int fd, struct sh_sockaddr *serv_addr, int * addrlen); 40 40 #endif 41 42 int sh_calls_set_sub (const char * str); 41 43 42 44 long int retry_stat (const char * file, int line, -
trunk/include/sh_ipvx.h
r295 r315 46 46 int sh_ipvx_set_port(struct sh_sockaddr * ss, int port); 47 47 48 /* Get the port 49 */ 50 int sh_ipvx_get_port(struct sockaddr * ss, int sa_family); 51 48 52 /* Save a sockaddress 49 53 */ 50 54 void sh_ipvx_save(struct sh_sockaddr * ss, int sa_family, struct sockaddr * sa); 55 56 /* Ascii numerical sockaddress 57 */ 58 char * sh_ipvx_print_sockaddr (struct sockaddr * sa, int sa_family); 51 59 52 60 /* Determine whether the given address is numeric -
trunk/include/sh_pthread.h
r214 r315 10 10 #define SH_MUTEX_STATIC(M,I) static pthread_mutex_t M = I 11 11 #define SH_MUTEX_EXTERN(M) extern pthread_mutex_t M 12 13 #define SH_SETSIGMASK(A, B, C) sh_pthread_setsigmask(A,B,C) 14 15 int sh_pthread_setsigmask(int how, const void *set, void *oldset); 12 16 13 17 /* pthread_mutex_unlock() has the wrong type (returns int), so … … 133 137 #else 134 138 139 #define SH_SETSIGMASK(A, B, C) sh_pthread_setsigmask(A,B,C) 140 141 int sh_pthread_setsigmask(int how, const void *set, void *oldset); 142 135 143 #define PTHREAD_MUTEX_INITIALIZER NULL 136 144 #define SH_MUTEX(M) void *SH_MUTEX_DUMMY_ ## M
Note:
See TracChangeset
for help on using the changeset viewer.