The Red Project
 All Classes Namespaces Files Functions Variables Pages
zot.php File Reference

Functions

 zot_new_uid ($channel_nick)
 
 zot_get_hubloc ($arr, $primary=false)
 
 zot_notify ($channel, $url, $type= 'notify', $recipients=null, $remote_key=null)
 
 zot_build_packet ($channel, $type= 'notify', $recipients=null, $remote_key=null, $secret=null)
 
 zot_zot ($url, $data)
 
 zot_finger ($webbie, $channel)
 
 zot_refresh ($them, $channel=null)
 
 zot_gethub ($arr)
 
 zot_register_hub ($arr)
 
 import_xchan ($arr)
 
 zot_process_response ($hub, $arr, $outq)
 
 zot_fetch ($arr)
 
 zot_import ($arr)
 
 public_recips ($msg)
 
 allowed_public_recips ($msg)
 
 process_delivery ($sender, $arr, $deliveries, $relay)
 
 update_imported_item ($sender, $item, $uid)
 
 delete_imported_item ($sender, $item, $uid)
 
 process_mail_delivery ($sender, $arr, $deliveries)
 
 process_profile_delivery ($sender, $arr, $deliveries)
 
 import_directory_profile ($hash, $profile)
 
 import_directory_keywords ($hash, $keywords)
 

Function Documentation

allowed_public_recips (   $msg)

Referenced by zot_import().

delete_imported_item (   $sender,
  $item,
  $uid 
)

Referenced by process_delivery().

import_directory_keywords (   $hash,
  $keywords 
)
import_directory_profile (   $hash,
  $profile 
)
process_delivery (   $sender,
  $arr,
  $deliveries,
  $relay 
)

Referenced by onepoll_run(), and zot_import().

process_mail_delivery (   $sender,
  $arr,
  $deliveries 
)

Referenced by zot_import().

process_profile_delivery (   $sender,
  $arr,
  $deliveries 
)

Referenced by zot_import().

public_recips (   $msg)

Referenced by allowed_public_recips().

update_imported_item (   $sender,
  $item,
  $uid 
)

Referenced by process_delivery().

zot_build_packet (   $channel,
  $type = 'notify',
  $recipients = null,
  $remote_key = null,
  $secret = null 
)
zot_fetch (   $arr)

Referenced by post_post().

zot_finger (   $webbie,
  $channel 
)
zot_get_hubloc (   $arr,
  $primary = false 
)

Given an array of zot hashes, return all distinct hubs If primary is true, return only primary hubs Result is ordered by url to assist in batching. Return only the first primary hub as there should only be one.

Referenced by zfinger_init(), and zperms_init().

zot_gethub (   $arr)

Referenced by import_post(), post_post(), and zot_fetch().

zot_import (   $arr)

Referenced by deliver_run(), and zot_fetch().

zot_new_uid (   $channel_nick)

zot_new_uid($channel_nick) = unique nickname of controlling entity

Returns
string

Referenced by create_identity().

zot_notify (   $channel,
  $url,
  $type = 'notify',
  $recipients = null,
  $remote_key = null 
)
zot_process_response (   $hub,
  $arr,
  $outq 
)

Referenced by deliver_run(), and queue_run().

zot_refresh (   $them,
  $channel = null 
)
zot_register_hub (   $arr)

Referenced by post_post().

zot_zot (   $url,
  $data 
)