#include <pulse/gccmacro.h>
#include <pulse/volume.h>
+
+#include <pulsecore/i18n.h>
#include <pulsecore/macro.h>
#include <pulsecore/socket.h>
#endif
void pa_make_fd_nonblock(int fd);
+void pa_make_fd_block(int fd);
+bool pa_is_fd_nonblock(int fd);
+
void pa_make_fd_cloexec(int fd);
int pa_make_secure_dir(const char* dir, mode_t m, uid_t uid, gid_t gid, bool update_perms);
int pa_parse_volume(const char *s, pa_volume_t *volume);
static inline const char *pa_yes_no(bool b) {
- return b ? "yes" : "no";
+ return b ? _("yes") : _("no");
}
static inline const char *pa_strnull(const char *x) {