summaryrefslogtreecommitdiff
path: root/cesar/maximus/python/lib/cesar/store.py
blob: 2a8eb975a993eaf89a9e01b736829d98cd0dcee0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#! usr/bin/env python

#print __name__

def mac_store_sta_is_authenticated (maximus, sta, tei):
    fcall = maximus.create_fcall ("fc_mac_store_sta_peer_is_authenticated")
    fcall.set_sta (sta.get())
    fcall.add_param_ushort ("tei", tei)
    fcall.send()

    auth = fcall.bind_param_ushort ("auth") != 0
    return auth