~vomun-developers/anonplus/vomun-trunk

« back to all changes in this revision

Viewing changes to src/libs/friends.py

  • Committer: AJ00200
  • Date: 2011-09-25 15:56:19 UTC
  • Revision ID: git-v1:34f8543d2599d1a725a5def2bae9e9cb449c9ddb
Basic file structure and some code

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
'''This module loads a list of friends out of ~/.vomun/friends.json'''
 
2
import json
 
3
 
 
4
friends = {}
 
5
def load_friends():
 
6
    '''Load the list of friends'''
 
7
    pass
 
8
 
 
9
def save_friends():
 
10
    '''Save the list of friends'''
 
11
    pass
 
12
 
 
13
def add_friend(nodeid, address, port):
 
14
    '''Add a friend'''
 
15
    pass
 
16
 
 
17
def del_friend(nodeid):
 
18
    '''Delete a friend'''
 
19
    pass