SMinit calls the setup function for all of the configured methods based on SMsetup . SMinit returns TRUE, unless all storage methods fail initialization. SMstore stores an article specified with article . If arrived is specified, SMstore use its value as article's arrival time or SMstore use current time for it. SMretrieve retrieves an article specified with token .
Amount is the one of following which specifies retrieving type.
SMnext is similar in function to SMretrieve except that it is intended for traversing the method's article store sequentially. SMfreearticle frees all allocated memory used by SMretrieve and SMnext . SMcancel removes an article specified with token . SMshutdown calls the shutdown for each configured storage method and then free any resources it has allocated for itself. SMerrno and SMerrorstr indicates the reason of the last error concerning storage manager.