retire/catalog.cc
bool insert(const hash::t_md5 &name, const hash::t_md5 &parent, const t_dirent &entry)
  {
    bool ret;

    pthread_mutex_lock(&mutex);
    ret = insert_unprotected(name, parent, entry);
    pthread_mutex_unlock(&mutex);

    return ret;
  }
/**
   * Inserts a catalog entry into the catalog of its parent.  This is always the
   * right decision, because we don't find the nested-link in the parent catalog as
   * parent entry.
   *
   * @param[in] name Hashed path of entry
   * @param[in] parent Hashed path of parent of entry
   *
   * \return True on success, false otherwise
   */
Inserts a catalog entry into the catalog of its parent.  This is always the
right decision, because we don't find the nested-link in the parent catalog as
parent entry.

@param[in] name Hashed path of entry
@param[in] parent Hashed path of parent of entry

\return True on success, false otherwise
Inserts a catalog entry into the catalog of its parent . This is always the right decision because we don ' t find the nested - link in the parent catalog as parent entry . @param [ in ] name Hashed path of entry @param [ in ] parent Hashed path of parent of entry \ return True on success false otherwise
bool insert(const hash::t_md5 &name, const hash::t_md5 &parent, const t_dirent &entry)
  {
    bool ret;
    pthread_mutex_lock(&mutex);
    ret = insert_unprotected(name, parent, entry);
    pthread_mutex_unlock(&mutex);
    return ret;
  }
bool insert ( const hash :: t_md5 & name , const hash :: t_md5 & parent , const t_dirent & entry ) { bool ret ; pthread_mutex_lock ( & mutex ) ; ret = insert_unprotected ( name , parent , entry ) ; pthread_mutex_unlock ( & mutex ) ; return ret ; }
Inserts a catalog entry into the catalog of its parent.
Inserts a catalog entry into the catalog of its parent .