extattr.c (333fc21e3cd79bca0c94d7722c5a56cb5ad078d1) | extattr.c (613100918de03164200eb28f7db1a2b1d701a697) |
---|---|
1/*- 2 * Copyright (c) 2001 Robert N. M. Watson 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 20 unchanged lines hidden (view full) --- 29 30#include <sys/cdefs.h> 31__FBSDID("$FreeBSD$"); 32 33#include <sys/types.h> 34#include <sys/extattr.h> 35 36#include <errno.h> | 1/*- 2 * Copyright (c) 2001 Robert N. M. Watson 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 20 unchanged lines hidden (view full) --- 29 30#include <sys/cdefs.h> 31__FBSDID("$FreeBSD$"); 32 33#include <sys/types.h> 34#include <sys/extattr.h> 35 36#include <errno.h> |
37#include <libutil.h> |
|
37#include <string.h> 38 39int 40extattr_namespace_to_string(int attrnamespace, char **string) 41{ 42 43 switch(attrnamespace) { 44 case EXTATTR_NAMESPACE_USER: --- 32 unchanged lines hidden --- | 38#include <string.h> 39 40int 41extattr_namespace_to_string(int attrnamespace, char **string) 42{ 43 44 switch(attrnamespace) { 45 case EXTATTR_NAMESPACE_USER: --- 32 unchanged lines hidden --- |