/
githubmirror
/
nmap
Обзор
Документация
Войти
/
githubmirror
/
nmap
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
libdnet-stripped/src/fw-none.c
53 строки
606 B
dmiller
Windows build fixes for libdnet-stripped
11 апр 2025, 19:39
11 апр 2025, 19:39
21e5cc6
Код
Авторство
О чём код?
/* * fw-none.c * * Copyright (c) 2000 Dug Song <dugsong@monkey.org> * * $Id$ */ #ifdef _WIN32 #include "dnet_winconfig.h" #else #include "config.h" #endif #include <errno.h> #include <stdio.h> #include <stdlib.h> #include "dnet.h" fw_t * fw_open(void) { errno = ENOSYS; return (NULL); } int fw_add(fw_t *f, const struct fw_rule *rule) { errno = ENOSYS; return (-1); } int fw_delete(fw_t *f, const struct fw_rule *rule) { errno = ENOSYS; return (-1); } int fw_loop(fw_t *f, fw_handler callback, void *arg) { errno = ENOSYS; return (-1); } fw_t * fw_close(fw_t *f) { return (NULL); }