arrange the request priority
authorBang Kwang min <justine.bang@samsung.com>
Tue, 4 Sep 2012 05:28:22 +0000 (14:28 +0900)
committerBang Kwang min <justine.bang@samsung.com>
Wed, 5 Sep 2012 05:46:07 +0000 (14:46 +0900)
commit63e531db43e1505c51015b4af2f3d3519731621b
tree300a220de9c35a61fe30c097fc98db5cc371b851
parent33640b39354c8bb810eed267e98094f51bb1c0c8
arrange the request priority

[Title] arrage the request priority
[Issue#] N/A
[Problem] when there are some pended job and new connection, sometimes new job will be started.
[Cause] N/A
[Solution] if pended job, start it, change new job to pended job.
[SCMRequest] N/A

additional)
finctionalize duplicated codes
use unsigned type for counting variable
improve the performance of pending start.

Change-Id: I4abb9b88192652b2c6a8d707e20a1a891eb62d24
include/download-provider-utils.h
src/download-provider-receiver.c
src/download-provider-utils.c