Changeset 315 for trunk/include


Ignore:
Timestamp:
Mar 11, 2011, 8:30:55 PM (14 years ago)
Author:
katerina
Message:

Fix for ticket #236 (blocking on NFS mounts).

Location:
trunk/include
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/sh_calls.h

    r295 r315  
    3939                      int fd, struct sh_sockaddr *serv_addr, int * addrlen);
    4040#endif
     41
     42int sh_calls_set_sub (const char * str);
    4143
    4244long int retry_stat (const char * file, int line,
  • trunk/include/sh_ipvx.h

    r295 r315  
    4646int sh_ipvx_set_port(struct sh_sockaddr * ss, int port);
    4747
     48/* Get the port
     49 */
     50int sh_ipvx_get_port(struct sockaddr * ss, int sa_family);
     51
    4852/* Save a sockaddress
    4953 */
    5054void sh_ipvx_save(struct sh_sockaddr * ss, int sa_family, struct sockaddr * sa);
     55
     56/* Ascii numerical sockaddress
     57 */
     58char * sh_ipvx_print_sockaddr (struct sockaddr * sa, int sa_family);
    5159
    5260/* Determine whether the given address is numeric
  • trunk/include/sh_pthread.h

    r214 r315  
    1010#define SH_MUTEX_STATIC(M,I)                    static pthread_mutex_t M = I
    1111#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
     15int sh_pthread_setsigmask(int how, const void *set, void *oldset);
    1216
    1317/* pthread_mutex_unlock() has the wrong type (returns int), so
     
    133137#else
    134138
     139#define SH_SETSIGMASK(A, B, C)                  sh_pthread_setsigmask(A,B,C)
     140
     141int sh_pthread_setsigmask(int how, const void *set, void *oldset);
     142
    135143#define PTHREAD_MUTEX_INITIALIZER               NULL
    136144#define SH_MUTEX(M)                             void *SH_MUTEX_DUMMY_ ## M
Note: See TracChangeset for help on using the changeset viewer.