Mercurial > hg > freeDiameter
comparison include/freeDiameter/libfreeDiameter.h @ 236:60f34df3e025
Remove dependency on signalent.h
author | Sebastien Decugis <sdecugis@nict.go.jp> |
---|---|
date | Mon, 08 Mar 2010 14:10:30 +0900 |
parents | 8773740401a5 |
children | 6a71c3f3ab77 |
comparison
equal
deleted
inserted
replaced
235:8773740401a5 | 236:60f34df3e025 |
---|---|
587 | 587 |
588 /* Dump list of handlers */ | 588 /* Dump list of handlers */ |
589 void fd_sig_dump(int level, int indent); | 589 void fd_sig_dump(int level, int indent); |
590 | 590 |
591 /* Name of signals */ | 591 /* Name of signals */ |
592 #ifdef HAVE_SIGNALENT_H | 592 const char * fd_sig_abbrev(int signal); |
593 extern const char *const fd_sig_str[]; | |
594 extern const int fd_sig_nstr; | |
595 # define SIGNALSTR(sig) (((sig) < fd_sig_nstr) ? fd_sig_str[(sig)] : "[unknown signal]") | |
596 #else /* HAVE_SIGNALENT_H */ | |
597 # define SIGNALSTR(sig) ("[no sig names]") | |
598 #endif /* HAVE_SIGNALENT_H */ | |
599 | 593 |
600 | 594 |
601 /*============================================================*/ | 595 /*============================================================*/ |
602 /* LISTS */ | 596 /* LISTS */ |
603 /*============================================================*/ | 597 /*============================================================*/ |