code: def set_mask(self, kind, mask):
          
          logger.debug("setting mask kind %s to %s" % (kind, mask))
          return self.library.Srv_SetMask(self.pointer, kind, mask)
docs: Writes the specified filter mask.