   }
 }
 
+/**
+  Get value for extended attribute
+
+  :param: name Name of extended attribute
+  :param: fromPath Path to file, directory, symlink etc
+
+  :returns: Tuple with two parameters. In case of success first parameter is nil, second is extended attribute value. In case of fail first parameter is error description, second is nil.
+*/
 func dataForAttributeWithName(name: String, fromPath path: String) -> (String?, NSData?) {
   
   if countElements(path) == 0 {

import Foundation

func errnoDescription() -> String { return NSString(UTF8String: strerror(errno)) }

func setAttributeWithName(name: String, #data: NSData, toPath path: String) -> String? {
  
  if countElements(path) == 0 {

  }
}

/**
  Get names of extended attributes associated with path

  :param: path Path to file, directory, symlink etc

  :returns: Tuple with two parameters. In case of success first parameter is nil, second is extended attributes names. In case of fail first parameter is error description, second is nil.
*/
func attributesNamesFromPath(path: String) -> (String?, [String]?) {
  
  if countElements(path) == 0 {
