Skip to content
Snippets Groups Projects
Select Git revision
  • master
  • release_3.0.0
  • test
  • feature_pre_sql
  • develop
  • 3.0.1
  • 3.0.0
  • 2.3.0
  • 2.2.0
  • 2.1.0
  • 2.0.0
  • 1.3.7
  • 1.3.6
  • 1.3.5
  • 1.3.4
  • 1.3.3
  • 1.3.2
  • 1.3.1
  • 1.3.0
  • 1.2.6
  • 1.2.5
  • 1.2.4
  • 1.2.3
  • 1.2.2
  • 1.2.1
25 results

user.global.php

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    bst.h 448 B
    #ifndef __BST__
    #define __BST__
    
    struct node_t {
      unsigned long int key;
      void* val;
      struct node_t* left;
      struct node_t* right;
    };
    
    typedef struct bst_t {
      unsigned long int size;
      struct node_t* tree;
    } bst_t;
    
    unsigned long int hash(void*);
    bst_t bst_empty(void);
    int bst_is_empty(bst_t);
    bst_t bst_add(bst_t, void*);
    void bst_destroy(bst_t, void (*free_void)(void*));
    int bst_in(bst_t, void*);
    unsigned long int bst_size(bst_t);
    
    #endif