Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenPrinting/cups
/ httpAddrFamily
Function
httpAddrFamily
cups/http-addr.c:445–452 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
443
*/
444
445
int /* O - Address family */
446
httpAddrFamily(http_addr_t *addr) /* I - Address */
447
{
448
if (addr)
449
return (addr->addr.sa_family);
450
else
451
return (0);
452
}
453
454
455
/*
Callers
14
auth.c
File · 0.85
cupsdIsAuthorized
Function · 0.85
check_admin_access
Function · 0.85
cupsdAcceptClient
Function · 0.85
cupsdSendHeader
Function · 0.85
create_local_printer
Function · 0.85
read_cupsd_conf
Function · 0.85
cupsdCreateProfile
Function · 0.85
scan_devices
Function · 0.85
try_connect
Function · 0.85
http-addrlist.c
File · 0.85
cupsDoAuthentication
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected