Home | History | Annotate | Download | only in libkms
      1 #!/bin/bash
      2 
      3 # The following symbols (past the first five) are taken from the public headers.
      4 # A list of the latter should be available Makefile.sources/LIBKMS_H_FILES
      5 
      6 FUNCS=$(nm -D --format=bsd --defined-only ${1-.libs/libkms.so} | awk '{print $3}'| while read func; do
      7 ( grep -q "^$func$" || echo $func )  <<EOF
      8 __bss_start
      9 _edata
     10 _end
     11 _fini
     12 _init
     13 kms_bo_create
     14 kms_bo_destroy
     15 kms_bo_get_prop
     16 kms_bo_map
     17 kms_bo_unmap
     18 kms_create
     19 kms_destroy
     20 kms_get_prop
     21 EOF
     22 done)
     23 
     24 test ! -n "$FUNCS" || echo $FUNCS
     25 test ! -n "$FUNCS"
     26